diff options
| author | Hans de Goede <[email protected]> | 2021-11-07 17:15:46 +0000 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2021-11-15 08:11:56 +0000 |
| commit | bc53e5bdbc7b5044079506990b76b39511ee1582 (patch) | |
| tree | fc1efbb708b78619cbe7fae7e3441455ffc82eea /tools/perf/scripts/python | |
| parent | 3aa39a49359c7049db8189cbec1aa1668f5a4583 (diff) | |
media: atomisp-ov2680: Fix and simplify ov2680_q_exposure()
Switch to ov2680_read_reg() to read all 24 bits in one go;
and the exposure value sits in bits 4-19 of the 24 bit exposure
register, so we need to shift the read value by 4 to report the
correct value.
Link: https://lore.kernel.org/linux-media/[email protected]
Signed-off-by: Hans de Goede <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions