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

Commit 4b11d13c authored by Arun Menon's avatar Arun Menon
Browse files

msm: vidc: Reinitialize skip_pc_count on power resume



Currently skip_pc_count holds the number of times the
driver tried to unsuccessfully put firmware in power
collapse. This count gets reset only if firmware is
successfully power collapsed or if the count reaches
the max threshold value. If driver fails to put firmware
in power collapse and immediately there is new input
queued to firmware, then driver should reset the skip_pc_count
to zero. If not, the skip_pc_count accumulates over a
period of time and results in un-necessary sys error to
client.

Change-Id: I67f6cd986029caea45e911705e22dbaffee7d5c4
Signed-off-by: default avatarArun Menon <avmenon@codeaurora.org>
parent 3b74bf1e
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