From: Hans de Goede Date: Sat, 20 Sep 2014 14:51:23 +0000 (+0200) Subject: usb: ehci: Add missing cache flush to destroy_int_queue X-Git-Tag: v2014.10-rc3~1^2~19 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=ea7b30c58973d59396c71d5880a652639d479a68;p=u-boot usb: ehci: Add missing cache flush to destroy_int_queue Signed-off-by: Hans de Goede --- diff --git a/drivers/usb/host/ehci-hcd.c b/drivers/usb/host/ehci-hcd.c index 41af302e03..1a0ddc3d51 100644 --- a/drivers/usb/host/ehci-hcd.c +++ b/drivers/usb/host/ehci-hcd.c @@ -1342,6 +1342,8 @@ destroy_int_queue(struct usb_device *dev, struct int_queue *queue) if (NEXT_QH(cur) == queue->first) { debug("found candidate. removing from chain\n"); cur->qh_link = queue->last->qh_link; + flush_dcache_range((uint32_t)cur, + ALIGN_END_ADDR(struct QH, cur, 1)); result = 0; break; }