media: ov2740: use group write for digital gain
authorBingbu Cao <bingbu.cao@intel.com>
Mon, 5 Jul 2021 06:50:59 +0000 (08:50 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Wed, 4 Aug 2021 12:43:51 +0000 (14:43 +0200)
commit84363509c72588bdbdfdd8503eb173a9b9a798f0
treead5dbaad8b3a63bfdb361e523be0bc1b1d531679
parent4d7adf0236c18befcac449fa1938e32f4bd1ddad
media: ov2740: use group write for digital gain

As the RGB digital gains of ov2740 were not applied as group, some
artifacts were observed in low light environment, use group write for
digital gain can make the RGB digital can be guaranteed to applied
together at frame boundary.

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+huawei@kernel.org>
drivers/media/i2c/ov2740.c