From f1c51eea57a5118b6ffa674b5ce6b191ad67102c Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Thu, 14 May 2015 11:10:15 -0600 Subject: [PATCH] SAMA5D OHCI: Missing D-Cache flush --- arch/arm/src/sama5/sam_ohci.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/src/sama5/sam_ohci.c b/arch/arm/src/sama5/sam_ohci.c index 6be8f39a73..73846d1cb8 100644 --- a/arch/arm/src/sama5/sam_ohci.c +++ b/arch/arm/src/sama5/sam_ohci.c @@ -3654,6 +3654,9 @@ static int sam_cancel(struct usbhost_driver_s *drvr, usbhost_ep_t ep) paddr = sam_physramaddr((uintptr_t)eplist->tail); ed->hw.headp = paddr; + arch_clean_dcache((uintptr_t)ed, + (uintptr_t)ed + sizeof(struct ohci_ed_s)); + /* Free all transfer descriptors that were connected to the ED */ DEBUGASSERT(td != (struct sam_gtd_s *)eplist->tail);