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

Commit 3786bda9 authored by Peter Liu's avatar Peter Liu
Browse files

msm: camera: isp: avoid spin lock recursion on same CPU



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 trigger spin lock irq save
which will hang CPU since the irq/preemption is disabled.

Avoid the issue to use spin lock irq save consistantly.

Change-Id: I38bf80be58744dabf7c2554b50b686b1e304fc4c
Signed-off-by: default avatarPeter Liu <pingchie@codeaurora.org>
parent dfc594f4
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