msm: vidc: Reinitialize skip_pc_count before raising sys error
The driver raises a fatal error to the client if it fails to
put the firmware to power collapse after 4 tries. However, the
variable which tracked the power collapse tries, was not reinitialized
after raising fatal error to client. So all subsequent power collapse
attempts will fail and result in sys error. This change should
fix the problem.
Change-Id: Ibb586633270489461073d184354eb1a128c8802a
Signed-off-by:
Arun Menon <avmenon@codeaurora.org>
Loading
Please register or sign in to comment