diff options
-rw-r--r-- | drivers/usb/host/xhci-hub.c | 2 | ||||
-rw-r--r-- | drivers/usb/host/xhci-trace.h | 5 |
2 files changed, 7 insertions, 0 deletions
diff --git a/drivers/usb/host/xhci-hub.c b/drivers/usb/host/xhci-hub.c index 1a1856bb67a2..46d5e08f05f1 100644 --- a/drivers/usb/host/xhci-hub.c +++ b/drivers/usb/host/xhci-hub.c | |||
@@ -1443,6 +1443,8 @@ int xhci_hub_status_data(struct usb_hcd *hcd, char *buf) | |||
1443 | retval = -ENODEV; | 1443 | retval = -ENODEV; |
1444 | break; | 1444 | break; |
1445 | } | 1445 | } |
1446 | trace_xhci_hub_status_data(i, temp); | ||
1447 | |||
1446 | if ((temp & mask) != 0 || | 1448 | if ((temp & mask) != 0 || |
1447 | (bus_state->port_c_suspend & 1 << i) || | 1449 | (bus_state->port_c_suspend & 1 << i) || |
1448 | (bus_state->resume_done[i] && time_after_eq( | 1450 | (bus_state->resume_done[i] && time_after_eq( |
diff --git a/drivers/usb/host/xhci-trace.h b/drivers/usb/host/xhci-trace.h index 6c093db5a4ed..410544ffe78f 100644 --- a/drivers/usb/host/xhci-trace.h +++ b/drivers/usb/host/xhci-trace.h | |||
@@ -499,6 +499,11 @@ DEFINE_EVENT(xhci_log_portsc, xhci_get_port_status, | |||
499 | TP_ARGS(portnum, portsc) | 499 | TP_ARGS(portnum, portsc) |
500 | ); | 500 | ); |
501 | 501 | ||
502 | DEFINE_EVENT(xhci_log_portsc, xhci_hub_status_data, | ||
503 | TP_PROTO(u32 portnum, u32 portsc), | ||
504 | TP_ARGS(portnum, portsc) | ||
505 | ); | ||
506 | |||
502 | DECLARE_EVENT_CLASS(xhci_dbc_log_request, | 507 | DECLARE_EVENT_CLASS(xhci_dbc_log_request, |
503 | TP_PROTO(struct dbc_request *req), | 508 | TP_PROTO(struct dbc_request *req), |
504 | TP_ARGS(req), | 509 | TP_ARGS(req), |