Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d5b7af72 authored by Rishabh Jain's avatar Rishabh Jain
Browse files

msm: camera: cdm: Fix CDM IRQ handling



Issue:
In CDM irq handling, workq to handle the irq was
scheduled before clearing the status registers. Due
to which reset complete can be done before clearing
the status registers. This creates a possibility of
issuing next reset before clearing the status registers.

Fix:
Clear the status registers before scheduiling workq to
handle interrupt. Also moved the reset done logic from
workq to interrupt handler for quick handling of reset
irq.

CRs-Fixed: 2626672
Change-Id: I89846cbf8a970802fd789352ad6bba62678bf1df
Signed-off-by: default avatarRishabh Jain <risjai@codeaurora.org>
parent c7d67b0c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment