]> git.baikalelectronics.ru Git - kernel.git/commit
xhci: add port and bus number to port dynamic debugging
authorMathias Nyman <mathias.nyman@linux.intel.com>
Fri, 26 Apr 2019 13:23:30 +0000 (16:23 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 27 Apr 2019 12:53:58 +0000 (14:53 +0200)
commitdfdc294c099ba7b12f7233dbb31886779587e7c8
tree95c8e3dac2127327ef7d8e87c1810f598e230917
parent970541708558ff785adb56eacda98cbf39806cd7
xhci: add port and bus number to port dynamic debugging

Improve port related dynamic debugging by printing out the bus number,
port number and port status register content each time there is a port
related debug messages.

Use the same port numbering method as usbcore to simplify debugging.
i.e. starting with port number 1.

Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/xhci-hub.c
drivers/usb/host/xhci-ring.c
drivers/usb/host/xhci.c