zephyr/subsys/usb/device
Tomasz Moń 73e3fcabc0 usb: dfu: Schedule timer handler from USB workqueue
Use k_work_delayable instead of k_timer in order to execute timeout in
USB workqueue context instead of ISR context. This fixes Will-Detach on
targets where usb_dc_detach() uses functions not allowed in ISR context,
e.g. nrfx usb_dc_detach() acquires mutex.

Fixes: c27d48c89a ("usb: dfu: Support DFU with WinUSB on Windows")

Signed-off-by: Tomasz Moń <tomasz.mon@nordicsemi.no>
2023-01-04 10:33:35 +01:00
..
class usb: dfu: Schedule timer handler from USB workqueue 2023-01-04 10:33:35 +01:00
bos.c usb: device: update logging module registration 2022-12-12 15:57:35 +01:00
CMakeLists.txt
Kconfig usb: remove usb_pid.Kconfig file 2022-11-22 11:09:21 +01:00
os_desc.c usb: device: update logging module registration 2022-12-12 15:57:35 +01:00
os_desc.h
usb_descriptor.c usb: device: update logging module registration 2022-12-12 15:57:35 +01:00
usb_descriptor.h include: add missing sys/slist.h include 2022-10-11 18:05:17 +02:00
usb_device.c usb: device: update logging module registration 2022-12-12 15:57:35 +01:00
usb_transfer.c includes: prefer <zephyr/kernel.h> over <zephyr/zephyr.h> 2022-09-05 16:31:47 +02:00
usb_transfer.h
usb_work_q.c
usb_work_q.h