Commit 86cd740a authored by Mathias Nyman's avatar Mathias Nyman Committed by Greg Kroah-Hartman

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: default avatarMathias Nyman <mathias.nyman@linux.intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 4daf9df5
...@@ -2354,8 +2354,8 @@ static int handle_tx_event(struct xhci_hcd *xhci, ...@@ -2354,8 +2354,8 @@ static int handle_tx_event(struct xhci_hcd *xhci,
status = 0; status = 0;
break; break;
} }
xhci_warn(xhci, "ERROR Unknown event condition, HC probably " xhci_warn(xhci, "ERROR Unknown event condition %u, HC probably busted\n",
"busted\n"); trb_comp_code);
goto cleanup; goto cleanup;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment