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: Harsh Shah <harshs@codeaurora.org>
Loading
Please register or sign in to comment