]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
usb: host: xhci: print HCIVERSION on debug
authorFelipe Balbi <felipe.balbi@linux.intel.com>
Mon, 23 Jan 2017 12:20:05 +0000 (14:20 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 25 Jan 2017 09:57:35 +0000 (10:57 +0100)
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 <felipe.balbi@linux.intel.com>
Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/xhci-dbg.c

index a3b67f33d4d83de5657f939aa1c6fa33b7a88e74..363d125300eacfbef6287644f89af6abe007c920 100644 (file)
@@ -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);