mirror of
https://github.com/apache/nuttx.git
synced 2026-08-15 17:33:18 +00:00
Unplugging a USB device from an OHCI root hub will cause a deadlock if DRVR_EPFREE is called from sam_rhsc_bottomhalf. A typical call chain looks like this: sam_rhsc_bottomhalf-> CLASS_DISCONNECTED->usbhost_destroy->DRVR_EPFREE. In this case DRVR_EPFREE tries to lock a locked mutex. A recursive mutex prevents this deadlock. |
||
|---|---|---|
| .. | ||
| include | ||
| src | ||
| Kconfig | ||