aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/host/xhci-mem.c')
-rw-r--r--drivers/usb/host/xhci-mem.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/usb/host/xhci-mem.c b/drivers/usb/host/xhci-mem.c
index 04ab540695..84c2c3344a 100644
--- a/drivers/usb/host/xhci-mem.c
+++ b/drivers/usb/host/xhci-mem.c
@@ -369,6 +369,9 @@ static int xhci_scratchpad_alloc(struct xhci_ctrl *ctrl)
369 ctrl->dcbaa->dev_context_ptrs[0] = 369 ctrl->dcbaa->dev_context_ptrs[0] =
370 cpu_to_le64((uintptr_t)scratchpad->sp_array); 370 cpu_to_le64((uintptr_t)scratchpad->sp_array);
371 371
372 xhci_flush_cache((uintptr_t)&ctrl->dcbaa->dev_context_ptrs[0],
373 sizeof(ctrl->dcbaa->dev_context_ptrs[0]));
374
372 page_size = xhci_readl(&hcor->or_pagesize) & 0xffff; 375 page_size = xhci_readl(&hcor->or_pagesize) & 0xffff;
373 for (i = 0; i < 16; i++) { 376 for (i = 0; i < 16; i++) {
374 if ((0x1 & page_size) != 0) 377 if ((0x1 & page_size) != 0)