msm: isp: Prevents interrupt storm on ISPIF overflow.
Prevents interrupt storm by masking overflow interrupt in overflow handling. CRs-Fixed: 1100241 Change-Id: I30cefb14e7562ede3257d227ed4baf892b9fdadd Signed-off-by: Trishansh Bhardwaj <tbhardwa@codeaurora.org>
This commit is contained in:
parent
a6d83d2e8e
commit
a8af8f1c13
1 changed files with 6 additions and 0 deletions
|
@ -1447,6 +1447,12 @@ static inline void msm_ispif_read_irq_status(struct ispif_irq_status *out,
|
|||
pr_err_ratelimited("%s: fatal error, stop ispif immediately\n",
|
||||
__func__);
|
||||
for (i = 0; i < ispif->vfe_info.num_vfe; i++) {
|
||||
msm_camera_io_w(0x0,
|
||||
ispif->base + ISPIF_VFE_m_IRQ_MASK_0(i));
|
||||
msm_camera_io_w(0x0,
|
||||
ispif->base + ISPIF_VFE_m_IRQ_MASK_1(i));
|
||||
msm_camera_io_w(0x0,
|
||||
ispif->base + ISPIF_VFE_m_IRQ_MASK_2(i));
|
||||
msm_camera_io_w(ISPIF_STOP_INTF_IMMEDIATELY,
|
||||
ispif->base + ISPIF_VFE_m_INTF_CMD_0(i));
|
||||
msm_camera_io_w(ISPIF_STOP_INTF_IMMEDIATELY,
|
||||
|
|
Loading…
Add table
Reference in a new issue