mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-13 10:38:44 -04:00
media: i2c: imx214: Drop IMX214_REG_EXPOSURE from mode reg arrays
The IMX214_REG_EXPOSURE is configured twice, once with a hardcoded value in the mode_<res> registers arrays, and once via v4l2_ctrl_ops. The latter is enough, drop the former. Acked-by: Ricardo Ribalda <ribalda@chromium.org> Signed-off-by: André Apitzsch <git@apitzsch.eu> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
This commit is contained in:
committed by
Hans Verkuil
parent
341a133beb
commit
ef9b58f257
@@ -252,7 +252,6 @@ static const struct cci_reg_sequence mode_4096x2304[] = {
|
||||
{ CCI_REG8(0x3011), 0x00 },
|
||||
{ IMX214_REG_STATS_OUT_EN, IMX214_STATS_OUT_ON },
|
||||
|
||||
{ IMX214_REG_EXPOSURE, IMX214_EXPOSURE_DEFAULT },
|
||||
{ IMX214_REG_SHORT_EXPOSURE, 500 },
|
||||
|
||||
{ IMX214_REG_ANALOG_GAIN, 0 },
|
||||
@@ -326,7 +325,6 @@ static const struct cci_reg_sequence mode_1920x1080[] = {
|
||||
{ CCI_REG8(0x3011), 0x00 },
|
||||
{ IMX214_REG_STATS_OUT_EN, IMX214_STATS_OUT_ON },
|
||||
|
||||
{ IMX214_REG_EXPOSURE, IMX214_EXPOSURE_DEFAULT },
|
||||
{ IMX214_REG_SHORT_EXPOSURE, 500 },
|
||||
|
||||
{ IMX214_REG_ANALOG_GAIN, 0 },
|
||||
|
||||
Reference in New Issue
Block a user