diff options
author | Laurent Pinchart <[email protected]> | 2023-09-24 18:32:53 +0300 |
---|---|---|
committer | Hans Verkuil <[email protected]> | 2023-10-07 10:55:46 +0200 |
commit | ec80c606cca5f7a676febde10d63f5532f57e8e7 (patch) | |
tree | 31db8fd079e14f1b0fd5925addeb270ef0869191 | |
parent | 1c9083565a4698ff072f1209e9450ff6c305e2cc (diff) |
media: i2c: imx219: Drop IMX219_REG_CSI_LANE_MODE from common regs array
The IMX219_REG_CSI_LANE_MODE is configured twice, once with a hardcoded
value in the imx219_common_regs registers array, and once with the value
appropriate for the system in imx219_configure_lanes(). The latter is
enough, drop the former.
Fixes: ceddfd4493b3 ("media: i2c: imx219: Support four-lane operation")
Suggested-by: Dave Stevenson <[email protected]>
Signed-off-by: Laurent Pinchart <[email protected]>
Reviewed-by: Dave Stevenson <[email protected]>
Signed-off-by: Sakari Ailus <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
-rw-r--r-- | drivers/media/i2c/imx219.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/media/i2c/imx219.c b/drivers/media/i2c/imx219.c index 530b03d78e34..a14de8f3dee7 100644 --- a/drivers/media/i2c/imx219.c +++ b/drivers/media/i2c/imx219.c @@ -214,7 +214,6 @@ static const struct cci_reg_sequence imx219_common_regs[] = { { IMX219_REG_Y_ODD_INC_A, 1 }, /* Output setup registers */ - { IMX219_REG_CSI_LANE_MODE, IMX219_CSI_2_LANE_MODE }, { IMX219_REG_DPHY_CTRL, IMX219_DPHY_CTRL_TIMING_AUTO }, { IMX219_REG_EXCK_FREQ, IMX219_EXCK_FREQ(IMX219_XCLK_FREQ / 1000000) }, }; |