]> git.baikalelectronics.ru Git - kernel.git/commit
[media] media: ov5670: Use recommended black level and output bias
authorChiranjeevi Rapolu <chiranjeevi.rapolu@intel.com>
Fri, 25 Aug 2017 04:20:55 +0000 (01:20 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Wed, 4 Oct 2017 20:06:49 +0000 (17:06 -0300)
commit556a7d950088ec213854ff8ad189398c52e95ffb
treee53d6d817d273aa636ed33d4c1d4b0a043a382f1
parent17b3c107e66c3d68c8549cb778cf6224599e6ad7
[media] media: ov5670: Use recommended black level and output bias

Previously, images were relatively darker due to non-optimal
settings for black target level and bias.

Now, use recommended settings for black target level and output bias
as default values. The same default settings apply to all the resolutions.
Given these recommeneded settings do not change dynamically, add these to
existing mode register settings.

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@osg.samsung.com>
drivers/media/i2c/ov5670.c