media: i2c: imx219: Split common registers from mode tables
[ 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:Adam Ford <aford173@gmail.com> Reviewed-by:
Dave Stevenson <dave.stevenson@raspberrypi.com> Signed-off-by:
Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by:
Mauro Carvalho Chehab <mchehab@kernel.org> Stable-dep-of: ef86447e ("media: i2c: imx219: Fix binning for RAW8 capture") Signed-off-by:
Sasha Levin <sashal@kernel.org>
Loading