]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
usb: ehci: Add missing cache flush to destroy_int_queue
authorHans de Goede <hdegoede@redhat.com>
Sat, 20 Sep 2014 14:51:23 +0000 (16:51 +0200)
committerMarek Vasut <marex@denx.de>
Mon, 6 Oct 2014 12:50:42 +0000 (14:50 +0200)
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/usb/host/ehci-hcd.c

index 41af302e036cf66e2b880240e23ea0ddb507c55b..1a0ddc3d5105b18756915eb0c47192eb157b8e2c 100644 (file)
@@ -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;
                }