Commit 84034e72 authored by Arun Menon's avatar Arun Menon Committed by Shruthi Krishna
Browse files

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: default avatarArun Menon <avmenon@codeaurora.org>
parent 7b55e48f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment