commit | d8e3a4191a2dfa9f97f73fad578c98d8c4504239 | [log] [tgz] |
---|---|---|
author | Harsh Shah <harshs@codeaurora.org> | Fri Oct 27 00:32:04 2017 -0700 |
committer | Gerrit - the friendly Code Review server <code-review@localhost> | Mon Nov 06 03:00:12 2017 -0800 |
tree | 6eeee896b16926c92c2f720a0991573de5838fff | |
parent | b81eb44cab1120a00246011b8fea5d5f6a148321 [diff] |
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: Harsh Shah <harshs@codeaurora.org>