When user disconnects the USB cable, peripheral should be immediately disabled, howewer a delay may occur when driver events are processed from a workqueue or higher-priority thread/ISR is active. This may lead to a fake resume/reset event (peripheral-specific behavior). This fix drops such events when cable is detached. Fixes #13822 Signed-off-by: Paweł Zadrożniak <pawel.zadrozniak@nordicsemi.no> |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| Kconfig | ||
| usb_dc_dw.c | ||
| usb_dc_kinetis.c | ||
| usb_dc_native_posix_adapt.c | ||
| usb_dc_native_posix_adapt.h | ||
| usb_dc_native_posix.c | ||
| usb_dc_nrfx.c | ||
| usb_dc_sam0.c | ||
| usb_dc_sam.c | ||
| usb_dc_stm32.c | ||
| usb_dw_registers.h | ||