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:
Rishabh Jain <risjai@codeaurora.org>
Loading
Please register or sign in to comment