]> 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)
commit77e31107b446a8898c98908013d6c3063032b2c0
tree53ffe430a5281ff9552ffe5a2e5c1be2bbbb2fee
parent475c2344fca8cb383a102dd518e723647aec15ac
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