diff options
author | Mathias Nyman <mathias.nyman@linux.intel.com> | 2021-08-20 15:35:03 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-08-26 13:06:03 +0200 |
commit | 669bc5a188b40a4edc9c2a42e5b32f19182767d9 (patch) | |
tree | 4239417c8c5c6cf7c3b6b9ae205c2376b9611177 /drivers/usb/host/xhci-ring.c | |
parent | xhci: Add additional dynamic debug to follow URBs in cancel and error cases. (diff) | |
download | linux-dev-669bc5a188b40a4edc9c2a42e5b32f19182767d9.tar.xz linux-dev-669bc5a188b40a4edc9c2a42e5b32f19182767d9.zip |
xhci: Add bus number to some debug messages
As we register two usb buses for each xHC, and systems with several
hosts are more and more common it is getting hard to follow the
flow of debug messages without knowing which bus they belong to
Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Link: https://lore.kernel.org/r/20210820123503.2605901-7-mathias.nyman@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/host/xhci-ring.c')
-rw-r--r-- | drivers/usb/host/xhci-ring.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/usb/host/xhci-ring.c b/drivers/usb/host/xhci-ring.c index 8be4ba3758b1..e676749f543b 100644 --- a/drivers/usb/host/xhci-ring.c +++ b/drivers/usb/host/xhci-ring.c @@ -2031,7 +2031,8 @@ cleanup: * bits are still set. When an event occurs, switch over to * polling to avoid losing status changes. */ - xhci_dbg(xhci, "%s: starting port polling.\n", __func__); + xhci_dbg(xhci, "%s: starting usb%d port polling.\n", + __func__, hcd->self.busnum); set_bit(HCD_FLAG_POLL_RH, &hcd->flags); spin_unlock(&xhci->lock); /* Pass this up to the core */ |