The suspended flag is checked during SOF and RESUME interrupts, and it is modified within a delayable work item. To prevent race conditions, this update ensures that interrupts are disabled (locking IRQs) before modifying the suspended flag. Additionally, the RESUME interrupt is enabled only when the USB is suspended. Signed-off-by: Ren Chen <Ren.Chen@ite.com.tw> |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| Kconfig | ||
| usb_dc_dw_stm32.h | ||
| usb_dc_dw.c | ||
| usb_dc_it82xx2.c | ||
| usb_dc_kinetis.c | ||
| usb_dc_mcux.c | ||
| usb_dc_native_posix_adapt.c | ||
| usb_dc_native_posix_adapt.h | ||
| usb_dc_native_posix.c | ||
| usb_dc_nrfx.c | ||
| usb_dc_numaker.c | ||
| usb_dc_rpi_pico.c | ||
| usb_dc_sam0.c | ||
| usb_dc_sam_usbc.c | ||
| usb_dc_sam_usbhs.c | ||
| usb_dc_smartbond.c | ||
| usb_dc_stm32.c | ||