Skip to content
Commit 83ca8f96 authored by Chandana Kishori Chiluveru's avatar Chandana Kishori Chiluveru Committed by Hemant Kumar
Browse files

usb: f_gsi: Fix BUG_ON for calling sleeping function in invalid context



In Current code driver calling spin_lock_irqsave two time with
different lock. This will lead an issue where irqs remains disabled
on processor. After that calling queu_work function reporting bug with
sleeping function called from invalid context.

Fix this by using spin_lcck instead of spin_lock_irq_save.

Change-Id: I68f05283fe541eb5af123a4ce836ee0fc1dd7e48
Signed-off-by: default avatarChandana Kishori Chiluveru <cchiluve@codeaurora.org>
parent 21a1b0f4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment