1 From 09431461d8c37e1436326e1584f6db5a0afe699f Mon Sep 17 00:00:00 2001
2 From: Dave Stevenson <dave.stevenson@raspberrypi.com>
3 Date: Tue, 15 Jun 2021 18:38:46 +0100
4 Subject: [PATCH] media: i2c: imx258: Remove redundant I2C writes.
6 Registers 0x0202 and 0x0203 are written via the control handler
7 for V4L2_CID_EXPOSURE, so are not needed from the mode lists.
9 Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
11 drivers/media/i2c/imx258.c | 6 ------
12 1 file changed, 6 deletions(-)
14 --- a/drivers/media/i2c/imx258.c
15 +++ b/drivers/media/i2c/imx258.c
16 @@ -238,8 +238,6 @@ static const struct imx258_reg mode_4208
25 @@ -357,8 +355,6 @@ static const struct imx258_reg mode_2104
34 @@ -476,8 +472,6 @@ static const struct imx258_reg mode_1048