media: ov13858: Increase digital gain granularity, range
authorChiranjeevi Rapolu <chiranjeevi.rapolu@intel.com>
Fri, 28 Jul 2017 23:21:03 +0000 (19:21 -0400)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 9 Aug 2017 15:19:06 +0000 (11:19 -0400)
commitbfced6d1ec917436dd02e180bf52d71cd4a335a7
tree5b7180d56aa174611a7ce28d902e032232197a94
parent89d8b615f2e5b249c0441e50c88c61c568b4f20b
media: ov13858: Increase digital gain granularity, range

Previously, possible digital gains were just 1x, 2x and 4x. These
coarse gains were not sufficient in fine-tuning the image capture.

Now, digital gain range is [0, 16x] with each step 1/1024, default 1x.
This is achieved through OV13858 MWB R/G/B gain controls.

Signed-off-by: Chiranjeevi Rapolu <chiranjeevi.rapolu@intel.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/i2c/ov13858.c