mirror of
https://github.com/apache/nuttx.git
synced 2026-09-13 06:00:17 +00:00
SAMA5D OHCI: Missing D-Cache flush
This commit is contained in:
parent
2b3241d81f
commit
efd06005fa
1 changed files with 3 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue