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:
Arun Menon <avmenon@codeaurora.org>
Loading
Please register or sign in to comment