diff options
author | Peter Chen <peter.chen@nxp.com> | 2017-04-19 09:55:52 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-05-20 08:28:34 -0400 |
commit | 91cd8f900c75dd095528c90c56a1c4a6452aa105 (patch) | |
tree | a0aa6ac76fd93d997da92cd6e9b50b090f44336c | |
parent | 853469d53e86bcce076ab65a06d3092664ec8990 (diff) |
usb: host: xhci: print correct command ring address
commit 6fc091fb0459ade939a795bfdcaf645385b951d4 upstream.
Print correct command ring address using 'val_64'.
Signed-off-by: Peter Chen <peter.chen@nxp.com>
Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/usb/host/xhci-mem.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/host/xhci-mem.c b/drivers/usb/host/xhci-mem.c index 87848ce95b6f..709b52841c87 100644 --- a/drivers/usb/host/xhci-mem.c +++ b/drivers/usb/host/xhci-mem.c | |||
@@ -2486,7 +2486,7 @@ int xhci_mem_init(struct xhci_hcd *xhci, gfp_t flags) | |||
2486 | (xhci->cmd_ring->first_seg->dma & (u64) ~CMD_RING_RSVD_BITS) | | 2486 | (xhci->cmd_ring->first_seg->dma & (u64) ~CMD_RING_RSVD_BITS) | |
2487 | xhci->cmd_ring->cycle_state; | 2487 | xhci->cmd_ring->cycle_state; |
2488 | xhci_dbg_trace(xhci, trace_xhci_dbg_init, | 2488 | xhci_dbg_trace(xhci, trace_xhci_dbg_init, |
2489 | "// Setting command ring address to 0x%x", val); | 2489 | "// Setting command ring address to 0x%016llx", val_64); |
2490 | xhci_write_64(xhci, val_64, &xhci->op_regs->cmd_ring); | 2490 | xhci_write_64(xhci, val_64, &xhci->op_regs->cmd_ring); |
2491 | xhci_dbg_cmd_ptrs(xhci); | 2491 | xhci_dbg_cmd_ptrs(xhci); |
2492 | 2492 | ||