aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/pci
diff options
context:
space:
mode:
authorDaniel Scally <djrscally@gmail.com>2021-11-23 01:00:16 +0100
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2021-11-30 10:58:49 +0100
commit3fdd94e2bfa3a05a9a1ef7c49c7dccb10ebafdfb (patch)
tree6bb8d1a8c7b877b91700004272e1b3ea7a0ef649 /drivers/media/pci
parentmedia: i2c: Use dev_err_probe() in ov8865 (diff)
downloadlinux-dev-3fdd94e2bfa3a05a9a1ef7c49c7dccb10ebafdfb.tar.xz
linux-dev-3fdd94e2bfa3a05a9a1ef7c49c7dccb10ebafdfb.zip
media: i2c: Fix max gain in ov8865
The maximum gain figure in the v4l2 ctrl is wrong. The field is 12 bits wide, which is where the 8191 figure comes from, but the datasheet is specific that maximum gain is 16x (the low seven bits are fractional, so 16x gain is 2048) Signed-off-by: Daniel Scally <djrscally@gmail.com> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'drivers/media/pci')
0 files changed, 0 insertions, 0 deletions