Skip to content
Commit cf787d4e authored by Chun-Chieh Li's avatar Chun-Chieh Li Committed by Anas Nashif
Browse files

drivers: usb: udc: numaker: refine timing to clear interrupt flags



This refines interrupt handling sequence: clear interrupt flag first,
then process it. This can avoid one race condition when interrupt flag
is cleared but not processed for interrupts of the same type coming
very closely.

Signed-off-by: default avatarChun-Chieh Li <ccli8@nuvoton.com>
parent 4516310f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment