Skip to content
Commit d9099efc authored by Ren Chen's avatar Ren Chen Committed by Johan Hedberg
Browse files

usb: it82xx2: lock irq when accessing fifo ctrl register and ready bit



Since the fifo control register and ready bit are checked in ISR
function, this commit locks IRQ when accessing these registers to
prevent racing conditions.

Tested with: Google spikyrock project

Signed-off-by: default avatarRen Chen <Ren.Chen@ite.com.tw>
parent 4fa5cb8d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment