mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-23 07:22:33 +00:00
34 lines
1.2 KiB
Diff
34 lines
1.2 KiB
Diff
|
From e6d94416e7585b5c9b3f5ed0d8de86e57d8da3bb Mon Sep 17 00:00:00 2001
|
||
|
From: Dave Stevenson <dave.stevenson@raspberrypi.com>
|
||
|
Date: Thu, 16 Feb 2023 00:30:00 +0200
|
||
|
Subject: [PATCH] media: i2c: imx290: Remove duplicated write to
|
||
|
IMX290_CTRL_07
|
||
|
|
||
|
Should be upstream commit 454ce4c6d77b
|
||
|
|
||
|
IMX290_CTRL_07 was written from both imx290_global_init_settings
|
||
|
and imx290_1080p_settings and imx290_720p_settings.
|
||
|
|
||
|
Remove it from imx290_global_init_settings as the setting varies
|
||
|
based on the mode.
|
||
|
|
||
|
Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
|
||
|
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
|
||
|
Reviewed-by: Alexander Stein <alexander.stein@ew.tq-group.com>
|
||
|
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
|
||
|
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
|
||
|
---
|
||
|
drivers/media/i2c/imx290.c | 1 -
|
||
|
1 file changed, 1 deletion(-)
|
||
|
|
||
|
--- a/drivers/media/i2c/imx290.c
|
||
|
+++ b/drivers/media/i2c/imx290.c
|
||
|
@@ -241,7 +241,6 @@ static inline struct imx290 *to_imx290(s
|
||
|
*/
|
||
|
|
||
|
static const struct imx290_regval imx290_global_init_settings[] = {
|
||
|
- { IMX290_CTRL_07, IMX290_WINMODE_1080P },
|
||
|
{ IMX290_EXTCK_FREQ, 0x2520 },
|
||
|
{ IMX290_WINWV_OB, 12 },
|
||
|
{ IMX290_WINPH, 0 },
|