From: Mathias Nyman Date: Fri, 9 Jan 2015 14:06:32 +0000 (+0200) Subject: xhci: Add completion code to the debug ouput of unhandled transfer events X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=86cd740a621d4571252f04b2d618fd054e4ddfc4;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git xhci: Add completion code to the debug ouput of unhandled transfer events Helps debugging to know the unhandled event type. Also make the debug message grepable Signed-off-by: Mathias Nyman Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/usb/host/xhci-ring.c b/drivers/usb/host/xhci-ring.c index 067f18a46690..88da8d629820 100644 --- a/drivers/usb/host/xhci-ring.c +++ b/drivers/usb/host/xhci-ring.c @@ -2354,8 +2354,8 @@ static int handle_tx_event(struct xhci_hcd *xhci, status = 0; break; } - xhci_warn(xhci, "ERROR Unknown event condition, HC probably " - "busted\n"); + xhci_warn(xhci, "ERROR Unknown event condition %u, HC probably busted\n", + trb_comp_code); goto cleanup; }