Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit cbc57a43 authored by Anji Jonnala's avatar Anji Jonnala Committed by Stephen Boyd
Browse files

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: default avatarAnji Jonnala <anjir@qualcomm.com>
parent c5a7f7f5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment