OSDN Git Service

[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)
commit99cd12425dfe9a400b672f112512a3678dfd1eb6
treee53d6d817d273aa636ed33d4c1d4b0a043a382f1
parentcecfe9b8a511ec0c9df456770abf547444c87de6
[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