summaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/xhci-hub.c
diff options
context:
space:
mode:
authorMathias Nyman <mathias.nyman@linux.intel.com>2017-12-08 17:59:14 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-12-08 17:43:53 +0100
commit28c06e58602fe48eb03ec8d4bdd005094fb6a31f (patch)
tree3e86480235f77e5155f9a92992ee749b7691efdd /drivers/usb/host/xhci-hub.c
parentab725cbec3e83dc29cc00b733bd26063b588fa98 (diff)
downloadlinux-28c06e58602fe48eb03ec8d4bdd005094fb6a31f.tar.gz
linux-28c06e58602fe48eb03ec8d4bdd005094fb6a31f.tar.bz2
linux-28c06e58602fe48eb03ec8d4bdd005094fb6a31f.zip
xhci: add port status tracing for Get Port Status hub requests
Add tracing showing the port status register content each time the xhci roothub receives a Get Port Status request. Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/host/xhci-hub.c')
-rw-r--r--drivers/usb/host/xhci-hub.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/host/xhci-hub.c b/drivers/usb/host/xhci-hub.c
index 64e1b9bbf2bf..1a1856bb67a2 100644
--- a/drivers/usb/host/xhci-hub.c
+++ b/drivers/usb/host/xhci-hub.c
@@ -1076,6 +1076,7 @@ int xhci_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue,
retval = -ENODEV;
break;
}
+ trace_xhci_get_port_status(wIndex, temp);
status = xhci_get_port_status(hcd, bus_state, port_array,
wIndex, temp, flags);
if (status == 0xffffffff)