usb: xhci-mem: Fix scratchpad array issue
authorYe Li <ye.li@nxp.com>
Mon, 7 Jan 2019 02:45:46 +0000 (02:45 +0000)
committerMarek Vasut <marex@denx.de>
Wed, 9 Jan 2019 15:03:56 +0000 (16:03 +0100)
commit8c6cc71b40357dad4e3f21e9f1bd84db76a3d994
tree068c6a4f00949e6a3af6782320845207d64ddda8
parent54707a942009fae083dd78b58ff057127ba0e900
usb: xhci-mem: Fix scratchpad array issue

After updating the value of dev_context_ptrs[0], we should flush this
from cache to memory. Otherwise the xhci controller won't use it.

Signed-off-by: Ye Li <ye.li@nxp.com>
Reviewed-by: Marek Vasut <marex@denx.de>
drivers/usb/host/xhci-mem.c