msm: camera: fix irq error handling
The logic is to handle and enqueue only the first error irq,
So we can avoid tasklet overflow.
Fix the error handling by adding a missing bracket.
Reset error count on SOF to allow errors come on frame rate.
Change-Id: Id2e010cffbf4c97a3b3f22705caf50350020de10
Signed-off-by:
Peter Liu <pingchie@codeaurora.org>
Loading
Please register or sign in to comment