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

Commit 936800ea authored by Arun Menon's avatar Arun Menon
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 0d88d69d
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