commit | 6baba8c7414de490f7cb8f7eee94cf9e7b435b34 | [log] [tgz] |
---|---|---|
author | Harsh Shah <harshs@codeaurora.org> | Mon Oct 16 19:23:29 2017 -0700 |
committer | Harsh Shah <harshs@codeaurora.org> | Thu Nov 09 03:51:08 2017 -0800 |
tree | 66b06402418986fa63cae87dbae3f07074bce456 | |
parent | de8b7f5d87a74c38871d898d98103fb4c2afe790 [diff] |
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>