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

Commit 9e7f86d6 authored by Jing Zhou's avatar Jing Zhou
Browse files

msm: isp: use proper spin lock on isr and tasklet



When CPU do spin lock irq save, it will disable irq/preemption.
If the same CPU do spin lock (without disabling irq),
then irq context can preempt and acuire the lock hold by user,
which will possibly hang CPU.

Avoid the issue to use spin lock irq save consistantly.

Change-Id: I52e17d189668166ae126dc5948fe51bd79ae9859
Signed-off-by: default avatarPeter Liu <pingchie@codeaurora.org>
Signed-off-by: default avatarJing Zhou <jzhou70@codeaurora.org>
parent 83390eba
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