]>
Commit | Line | Data |
---|---|---|
b0c1a8bd GKH |
1 | From 6fc091fb0459ade939a795bfdcaf645385b951d4 Mon Sep 17 00:00:00 2001 |
2 | From: Peter Chen <peter.chen@nxp.com> | |
3 | Date: Wed, 19 Apr 2017 16:55:52 +0300 | |
4 | Subject: usb: host: xhci: print correct command ring address | |
5 | ||
6 | From: Peter Chen <peter.chen@nxp.com> | |
7 | ||
8 | commit 6fc091fb0459ade939a795bfdcaf645385b951d4 upstream. | |
9 | ||
10 | Print correct command ring address using 'val_64'. | |
11 | ||
12 | Signed-off-by: Peter Chen <peter.chen@nxp.com> | |
13 | Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com> | |
14 | Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> | |
15 | ||
16 | --- | |
17 | drivers/usb/host/xhci-mem.c | 2 +- | |
18 | 1 file changed, 1 insertion(+), 1 deletion(-) | |
19 | ||
20 | --- a/drivers/usb/host/xhci-mem.c | |
21 | +++ b/drivers/usb/host/xhci-mem.c | |
22 | @@ -2491,7 +2491,7 @@ int xhci_mem_init(struct xhci_hcd *xhci, | |
23 | (xhci->cmd_ring->first_seg->dma & (u64) ~CMD_RING_RSVD_BITS) | | |
24 | xhci->cmd_ring->cycle_state; | |
25 | xhci_dbg_trace(xhci, trace_xhci_dbg_init, | |
26 | - "// Setting command ring address to 0x%x", val); | |
27 | + "// Setting command ring address to 0x%016llx", val_64); | |
28 | xhci_write_64(xhci, val_64, &xhci->op_regs->cmd_ring); | |
29 | xhci_dbg_cmd_ptrs(xhci); | |
30 |