summaryrefslogtreecommitdiff
path: root/drivers/usb/core/hub.c
diff options
context:
space:
mode:
authorMathias Nyman <mathias.nyman@linux.intel.com>2022-02-16 11:51:48 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-02-17 16:20:45 +0100
commit6aec50009d52f28ef8b512cba0f5078b3928064d (patch)
tree64584ee64d7d09bd1408cbb4da784519091f1dc9 /drivers/usb/core/hub.c
parent5c44d9d7570b244ca08fef817c4c90aa7a1f1b5f (diff)
downloadlinux-6aec50009d52f28ef8b512cba0f5078b3928064d.tar.gz
linux-6aec50009d52f28ef8b512cba0f5078b3928064d.tar.bz2
linux-6aec50009d52f28ef8b512cba0f5078b3928064d.zip
xhci: dbc: Don't call dbc_tty_init() on every dbc tty probe
The current workaround to call the dbc_tty_init() in probe is not working in case we have several xhci devices with dbc enabled. dbc_tty_init() should be called only once by a module init call when module is loaded. until dbgtty is its own module call dbc_tty_init() from xhci module init call. Same is true for unloading and dbc_tty_exit() Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com> Link: https://lore.kernel.org/r/20220216095153.1303105-5-mathias.nyman@linux.intel.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/core/hub.c')
0 files changed, 0 insertions, 0 deletions