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:49 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-02-17 16:20:45 +0100
commite1ec140f273e1e30cea7e6d5f50934d877232121 (patch)
tree1962340360dabcd5dc05d5432d87228368181ffa /drivers/usb/core/hub.c
parent6aec50009d52f28ef8b512cba0f5078b3928064d (diff)
downloadlinux-e1ec140f273e1e30cea7e6d5f50934d877232121.tar.gz
linux-e1ec140f273e1e30cea7e6d5f50934d877232121.tar.bz2
linux-e1ec140f273e1e30cea7e6d5f50934d877232121.zip
xhci: dbgtty: use IDR to support several dbc instances.
To support systems with several xhci controllers with active dbc on each xhci we need to use IDR to identify and give an index to each port. Avoid using global struct tty_driver.driver_state for storing dbc port pointer as it won't work with several dbc ports Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com> Link: https://lore.kernel.org/r/20220216095153.1303105-6-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