arch/arm/sama5: Fix OHCI SchedulingOverrun interrupt storm.

The following message is printed continuously and the nsh
shell is unusable on sama5d3-xplained.
"OHCI ERROR: Unhandled interrupts pending: 000001". This
happens when a keyboard is removed and reinserted on
port3 (lower port) while a bluetooth dongle is in port2.
This commit is contained in:
Lwazi Dube
2023-05-08 19:44:58 -04:00
committed by Xiang Xiao
parent d3240061db
commit 5a553db88a
+2
View File
@@ -1330,6 +1330,8 @@ static inline int sam_reminted(struct sam_ed_s *ed)
*/
prev->hw.nexted = ed->hw.nexted;
up_clean_dcache((uintptr_t)prev,
(uintptr_t)prev + sizeof(struct ohci_ed_s));
}
#ifdef CONFIG_USBHOST_TRACE