477f8ebd6c86d82640adddf84fa999b5d741ee65
[openwrt/staging/neocturne.git] /
1 From e6d94416e7585b5c9b3f5ed0d8de86e57d8da3bb Mon Sep 17 00:00:00 2001
2 From: Dave Stevenson <dave.stevenson@raspberrypi.com>
3 Date: Thu, 16 Feb 2023 00:30:00 +0200
4 Subject: [PATCH] media: i2c: imx290: Remove duplicated write to
5 IMX290_CTRL_07
6
7 Should be upstream commit 454ce4c6d77b
8
9 IMX290_CTRL_07 was written from both imx290_global_init_settings
10 and imx290_1080p_settings and imx290_720p_settings.
11
12 Remove it from imx290_global_init_settings as the setting varies
13 based on the mode.
14
15 Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
16 Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
17 Reviewed-by: Alexander Stein <alexander.stein@ew.tq-group.com>
18 Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
19 Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
20 ---
21 drivers/media/i2c/imx290.c | 1 -
22 1 file changed, 1 deletion(-)
23
24 --- a/drivers/media/i2c/imx290.c
25 +++ b/drivers/media/i2c/imx290.c
26 @@ -241,7 +241,6 @@ static inline struct imx290 *to_imx290(s
27 */
28
29 static const struct imx290_regval imx290_global_init_settings[] = {
30 - { IMX290_CTRL_07, IMX290_WINMODE_1080P },
31 { IMX290_EXTCK_FREQ, 0x2520 },
32 { IMX290_WINWV_OB, 12 },
33 { IMX290_WINPH, 0 },