]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/blame - releases/4.11.2/usb-host-xhci-print-correct-command-ring-address.patch
4.9-stable patches
[thirdparty/kernel/stable-queue.git] / releases / 4.11.2 / usb-host-xhci-print-correct-command-ring-address.patch
CommitLineData
b0c1a8bd
GKH
1From 6fc091fb0459ade939a795bfdcaf645385b951d4 Mon Sep 17 00:00:00 2001
2From: Peter Chen <peter.chen@nxp.com>
3Date: Wed, 19 Apr 2017 16:55:52 +0300
4Subject: usb: host: xhci: print correct command ring address
5
6From: Peter Chen <peter.chen@nxp.com>
7
8commit 6fc091fb0459ade939a795bfdcaf645385b951d4 upstream.
9
10Print correct command ring address using 'val_64'.
11
12Signed-off-by: Peter Chen <peter.chen@nxp.com>
13Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
14Signed-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