summaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/xhci-ring.c
diff options
context:
space:
mode:
authorMathias Nyman <mathias.nyman@linux.intel.com>2015-01-09 16:06:32 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-01-09 10:05:47 -0800
commit86cd740a621d4571252f04b2d618fd054e4ddfc4 (patch)
tree6dfe2a7025ed52c7f8e31cc838f6dc9ffcc06499 /drivers/usb/host/xhci-ring.c
parent4daf9df51fbfb03b8c2bcb538cb467f7c7af1f11 (diff)
downloadop-kernel-dev-86cd740a621d4571252f04b2d618fd054e4ddfc4.zip
op-kernel-dev-86cd740a621d4571252f04b2d618fd054e4ddfc4.tar.gz
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 <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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/host/xhci-ring.c b/drivers/usb/host/xhci-ring.c
index 067f18a..88da8d6 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;
}
OpenPOWER on IntegriCloud