diff options
| author | Daniel Scally <[email protected]> | 2021-11-23 01:00:14 +0100 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2021-11-30 10:58:06 +0100 |
| commit | e15ddc9644a11ab51da709f866a2b939ac383a7a (patch) | |
| tree | bee5ae58e6b61cc80eb5992cc8abec036b5e6fd2 /tools/perf/scripts/python/libxed.py | |
| parent | 6eecfb34d3c4811686689f3dde657ad62d0b583b (diff) | |
media: i2c: Switch exposure control unit to lines
The ov8865 driver currently has the unit of the V4L2_CID_EXPOSURE control
as 1/16th of a line. This is what the sensor expects, but isn't very
intuitive. Switch the control to be in units of a line and simply do the
16x multiplication before passing the value to the sensor.
The datasheet for this sensor gives minimum exposure as 2 lines, so take
the opportunity to correct the lower bounds of the control.
Signed-off-by: Daniel Scally <[email protected]>
Signed-off-by: Sakari Ailus <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions