Commit 582709f0 authored by Adam Ford's avatar Adam Ford Committed by sanglipeng
Browse files

media: i2c: imx219: Split common registers from mode tables

stable inclusion
from stable-v5.10.173
commit a34288e3a1169abc6509c943fc76ddc43843ec9c
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I8BFR3

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=a34288e3a1169abc6509c943fc76ddc43843ec9c



--------------------------------

[ Upstream commit 85084559 ]

There are four modes, and each mode has a table of registers.
Some of the registers are common to all modes, so create new
tables for these common registers to reduce duplicate code.

Signed-off-by: default avatarAdam Ford <aford173@gmail.com>
Reviewed-by: default avatarDave Stevenson <dave.stevenson@raspberrypi.com>
Signed-off-by: default avatarSakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@kernel.org>
Stable-dep-of: ef86447e ("media: i2c: imx219: Fix binning for RAW8 capture")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarsanglipeng <sanglipeng1@jd.com>
parent 37c06811
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment