FROMLIST: media: ov5675: use group write to update digital gain

MWB gain register are used to set gain for each mwb channel mannually.
However, it will involve some artifacts at low light environment as gain
cannot be applied to each channel synchronously. Update the driver to use
group write for digital gain to make the sure RGB digital gain be applied
together at frame boundary.

Signed-off-by: Bingbu Cao <bingbu.cao@intel.com>

BUG=b:211837926
TEST=Sanity checked basic camera functions
(am from https://patchwork.kernel.org/patch/12700800)

Change-Id: I181cc3fe11dc423e5235777e28394d0f1cd00b81
Signed-off-by: Bingbu Cao <bingbu.cao@intel.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/kernel/+/2607814
Reviewed-by: Sean Paul <seanpaul@chromium.org>
Commit-Queue: Sergey Senozhatsky <senozhatsky@chromium.org>
Reviewed-by: Sergey Senozhatsky <senozhatsky@chromium.org>
Tested-by: Sergey Senozhatsky <senozhatsky@chromium.org>
1 file changed