usb: gadget: serial: resolve spinlock inconsistencies
kernel throws Possbile dead lock at f_serial completion handlers,
if we use plain spinlock which dont disables interrupts.
To avoid this use spinlock_irqsave instead of plain spinlock
which disables interrupts.
Signed-off-by:
Anji Jonnala <anjir@qualcomm.com>
Loading
Please register or sign in to comment