summaryrefslogtreecommitdiff
path: root/drivers/usb/host/xhci.c
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2015-01-16 17:54:01 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-01-25 20:59:43 +0800
commit99705092a83f0202d2b64c1b754a831464c5ce90 (patch)
treef402691ab5511886bd15cc249ff87e6a754eeff4 /drivers/usb/host/xhci.c
parent524134d422316a59d5464ccbc12036bbe90c5563 (diff)
xhci: Print hcc params, version and quirks on init
To help debugging xhci problems. Signed-off-by: Hans de Goede <hdegoede@redhat.com> 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.c')
-rw-r--r--drivers/usb/host/xhci.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/usb/host/xhci.c b/drivers/usb/host/xhci.c
index 1b0c91f12da2..15d8c221442f 100644
--- a/drivers/usb/host/xhci.c
+++ b/drivers/usb/host/xhci.c
@@ -4904,6 +4904,10 @@ int xhci_gen_setup(struct usb_hcd *hcd, xhci_get_quirks_t get_quirks)
if (retval)
goto error;
xhci_dbg(xhci, "Called HCD init\n");
+
+ xhci_info(xhci, "hcc params 0x%08x hci version 0x%x quirks 0x%08x\n",
+ xhci->hcc_params, xhci->hci_version, xhci->quirks);
+
return 0;
error:
kfree(xhci);