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)
commitba43392e5240975fe75401747610e2d44595ea9e
tree53ffe430a5281ff9552ffe5a2e5c1be2bbbb2fee
parenta6dd5265c21c28d0a782befe41a97c347e78f22f
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