From a768f325325aa51dea67bd54005ecca323fba637 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Sun, 22 Sep 2013 07:53:51 -0600 Subject: [PATCH] SAMA5 OHCI: Back out a change, the real root cause was a bug in the cache logic so the hack is no longer necessary --- arch/arm/src/sama5/sam_ohci.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/arch/arm/src/sama5/sam_ohci.c b/arch/arm/src/sama5/sam_ohci.c index ca69a59340a..b72774da03a 100644 --- a/arch/arm/src/sama5/sam_ohci.c +++ b/arch/arm/src/sama5/sam_ohci.c @@ -1337,14 +1337,6 @@ static int sam_enqueuetd(struct sam_rhport_s *rhport, struct sam_ed_s *ed, { cp15_clean_dcache((uintptr_t)buffer, (uintptr_t)buffer + buflen); - - /* REVISIT: This cache invalidation solves some transfer - * problems... but I don't understand why? Without this, - * the above clean seems to fail to flush all of the buffer. - */ - - cp15_invalidate_dcache((uintptr_t)buffer, - (uintptr_t)buffer + buflen); } cp15_clean_dcache((uintptr_t)tdtail,