Skip to content
Commit 6baba8c7 authored by Harsh Shah's avatar Harsh Shah
Browse files

msm: camera: icp: Deinit A5 before irq reset



Currently, CAM_ICP_A5_SET_IRQ_CB with NULL params is called
before A5 deinit in cam_icp_mgr_hw_close(). This can cause IRQ
being handled with NULL pointer leading to crash. Change the
call sequence to call deinit first, which will disable the IRQ
and then reset the irq_cb params to NULL so that there is no
crash.

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