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

Skip to content
Commit f61dfb6e authored by Vijayavardhan Vennapusa's avatar Vijayavardhan Vennapusa
Browse files

USB: gadget: u_bam: Fix spinlock lockup issue



Release spinlock before schedueling work when bam channel
is ready after cable is connected. Otherwise it leads
to spinlock lockup issue.

Also release spin lock before usb requests allocation to fix
"BUG: calling sleep function in atomic context".

Change-Id: Ia7f0bb0cf0096e30488e55a93cf62a2d8644a818
Signed-off-by: default avatarVijayavardhan Vennapusa <vvreddy@codeaurora.org>
parent 90f1b5b9
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