diff options
| author | Hans Verkuil <[email protected]> | 2018-06-29 05:40:41 -0400 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2018-07-04 08:18:33 -0400 |
| commit | 83a729530a3a8a40dd529c72e4c3fe491d9bce68 (patch) | |
| tree | 548cb2ae330084a703bce664ea9213aa3379aa35 /tools/perf/scripts/python | |
| parent | 9f84310d88304bb2f2b154ba740ecc3a6326c175 (diff) | |
media: vivid: fix gain when autogain is on
In the vivid driver you want gain to continuous change while autogain
is on. However, dev->jiffies_vid_cap doesn't actually change. It probably
did in the past, but changes in the code caused this to be a fixed value
that is only set when you start streaming.
Replace it by jiffies, which is always changing.
[[email protected]: use jiffies_to_msecs() instead of dividing by HZ]
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions