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

Skip to content
Commit 7835b3ba authored by Harsh Shah's avatar Harsh Shah
Browse files

msm: camera: isp: Protect flush from spinlock recursion



Flush can be called from user thread or CRM workqueue. Flush
takes the lock for ctx without disabling bottom halves. In
bottom half, event handling function we take the same lock
causing spinlock recursion. Change to spin_lock_bh to avoid
this.

Change-Id: I71a0f71bf4eb8b8f5d5eaff8a936a2f9804f8541
Signed-off-by: default avatarHarsh Shah <harshs@codeaurora.org>
parent 4a7050a7
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