From: Felipe Balbi Date: Mon, 23 Jan 2017 12:20:05 +0000 (+0200) Subject: usb: host: xhci: print HCIVERSION on debug X-Git-Tag: v4.11-rc1~119^2~65 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=ced09c95963795374c7f8710eeabca1d734315e2;p=karo-tx-linux.git usb: host: xhci: print HCIVERSION on debug When calling xhci_dbg_regs() we actually _do_ want to know XHCI's version. This might help figure out why certain problems only happen in some cases. Signed-off-by: Felipe Balbi Signed-off-by: Mathias Nyman Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/usb/host/xhci-dbg.c b/drivers/usb/host/xhci-dbg.c index a3b67f33d4d8..363d125300ea 100644 --- a/drivers/usb/host/xhci-dbg.c +++ b/drivers/usb/host/xhci-dbg.c @@ -37,10 +37,8 @@ void xhci_dbg_regs(struct xhci_hcd *xhci) &xhci->cap_regs->hc_capbase, temp); xhci_dbg(xhci, "// CAPLENGTH: 0x%x\n", (unsigned int) HC_LENGTH(temp)); -#if 0 xhci_dbg(xhci, "// HCIVERSION: 0x%x\n", (unsigned int) HC_VERSION(temp)); -#endif xhci_dbg(xhci, "// xHCI operational registers at %p:\n", xhci->op_regs);