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

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
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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;
	}