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)
commitd70d5a846671c3acb572425fe429b35cb4ec44a9
tree95c8e3dac2127327ef7d8e87c1810f598e230917
parent33e39350ebd20fe6a77a51b8c21c3aa6b4a208cf
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