diff options
author | Hans de Goede <hdegoede@redhat.com> | 2015-01-16 16:54:01 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-01-25 13:59:43 +0100 |
commit | 99705092a83f0202d2b64c1b754a831464c5ce90 (patch) | |
tree | f402691ab5511886bd15cc249ff87e6a754eeff4 /drivers/usb/host/xhci.c | |
parent | USB: don't cancel queued resets when unbinding drivers (diff) | |
download | linux-99705092a83f0202d2b64c1b754a831464c5ce90.tar.xz linux-99705092a83f0202d2b64c1b754a831464c5ce90.zip |
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.c | 4 |
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); |