Skip to content
Commit 79dc1fee authored by Paweł Zadrożniak's avatar Paweł Zadrożniak Committed by Carles Cufí
Browse files

drivers: usb: nordic: Fix for events when cable is detached



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: default avatarPaweł Zadrożniak <pawel.zadrozniak@nordicsemi.no>
parent bcf3d8e1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment