mirror of
https://github.com/apache/nuttx.git
synced 2026-05-19 03:03:37 +08:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user