]> git.baikalelectronics.ru Git - kernel.git/commit
media: ov8856: apply digital gain by setting global gain control register
authorBingbu Cao <bingbu.cao@intel.com>
Wed, 29 Dec 2021 03:15:15 +0000 (04:15 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Tue, 17 May 2022 07:18:59 +0000 (09:18 +0200)
commitca6323aa5de2e8fb4887eeda3510766d504524f5
tree53ffe430a5281ff9552ffe5a2e5c1be2bbbb2fee
parent9a65f64ee391760fdefad6b8528881f1fe26be03
media: ov8856: apply digital gain by setting global gain control register

MWB gain register are used to set gain for each mwb channel mannually.
However, it will involve some artifacts if gain cannot be applied to
each channel synchronously. Enable global gain control to set digital
global gain instead of setting AWB gain separately to fix this issue.

Signed-off-by: Bingbu Cao <bingbu.cao@intel.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/media/i2c/ov8856.c