Skip to content
Commit 5fc0405a authored by Tomasz Moń's avatar Tomasz Moń Committed by Fabio Baltieri
Browse files

drivers: usb: udc_dwc2: Synchronize thread with UDC API



UDC API handlers and DWC2 driver thread share not only software
constructs, but also the underlying hardware. Ensure that any UDC API
call is not preempted by DWC2 driver thread (and vice versa) by
acquiring the lock in thread handler.

Signed-off-by: default avatarTomasz Moń <tomasz.mon@nordicsemi.no>
parent c2f2d8ce
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment