msm: camera: icp: Execute irq callbacks with locks
During hardware release, there is a chance of executing the
irq, since disable_irq is done later. This can cause irq's
callback to be called with NULL data.
Prevent this by executing the callback with locks and a check
NULL data in the callback.
Change-Id: Ibf66dcca7c6d632829f4114ea88c46be77165e6e
Signed-off-by:
Abhilash Kumar <krabhi@codeaurora.org>
Loading
Please register or sign in to comment