Skip to content
Commit d8e3a419 authored by Harsh Shah's avatar Harsh Shah Committed by Gerrit - the friendly Code Review server
Browse files

msm: camera: isp: Avoid locking in IRQ context



Check if the thread is IRQ handler to avoid deadlock
trying to lock. The interrupt handler currently holds
the lock, so any other API being called from IRQ context
should not try to lock, else there will be recursion
leading to deadlock.

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