diff options
author | Xenia Ragiadakou <burzalodowa@gmail.com> | 2013-08-06 00:52:46 -0400 |
---|---|---|
committer | Sarah Sharp <sarah.a.sharp@linux.intel.com> | 2013-08-13 19:05:43 -0400 |
commit | a0254324eeea3b00676eeb54ba80774a46cb8afb (patch) | |
tree | 69b73e4bea25d9e12d0348a11d411c31575e1e66 /drivers/usb/host/xhci-ring.c | |
parent | 4bdfe4c38fd5b06da558050a3288a0a48825a3e7 (diff) |
xhci: add trace for debug messages related to endpoint reset
This patch defines a new trace event, which is called xhci_dbg_reset_ep
and belongs in the event class xhci_log_msg, and adds tracepoints that
trace the debug messages associated with resetting an endpoint after
the reception of a STALL packet.
Signed-off-by: Xenia Ragiadakou <burzalodowa@gmail.com>
Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
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 e88e8772ab5d..3393ce755b15 100644 --- a/drivers/usb/host/xhci-ring.c +++ b/drivers/usb/host/xhci-ring.c | |||
@@ -1151,7 +1151,8 @@ static void handle_reset_ep_completion(struct xhci_hcd *xhci, | |||
1151 | /* This command will only fail if the endpoint wasn't halted, | 1151 | /* This command will only fail if the endpoint wasn't halted, |
1152 | * but we don't care. | 1152 | * but we don't care. |
1153 | */ | 1153 | */ |
1154 | xhci_dbg(xhci, "Ignoring reset ep completion code of %u\n", | 1154 | xhci_dbg_trace(xhci, trace_xhci_dbg_reset_ep, |
1155 | "Ignoring reset ep completion code of %u", | ||
1155 | GET_COMP_CODE(le32_to_cpu(event->status))); | 1156 | GET_COMP_CODE(le32_to_cpu(event->status))); |
1156 | 1157 | ||
1157 | /* HW with the reset endpoint quirk needs to have a configure endpoint | 1158 | /* HW with the reset endpoint quirk needs to have a configure endpoint |