mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-27 17:18:59 +00:00
793f8ab62c
Add kernel patches for version 6.1. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
42 lines
1.3 KiB
Diff
42 lines
1.3 KiB
Diff
From f463515fa1c3d34eeff708d3c015d357049b4df1 Mon Sep 17 00:00:00 2001
|
|
From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
|
|
Date: Mon, 16 Jan 2023 15:44:52 +0100
|
|
Subject: [PATCH] media: i2c: imx290: Configure data lanes at start
|
|
time
|
|
|
|
Upstream commit 7d399658f7c6
|
|
|
|
There's no need to configure the data lanes in the runtime PM resume
|
|
handler. Do so in imx290_start_streaming() instead.
|
|
|
|
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
|
|
Reviewed-by: Alexander Stein <alexander.stein@ew.tq-group.com>
|
|
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
|
|
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
|
|
---
|
|
drivers/media/i2c/imx290.c | 6 +++---
|
|
1 file changed, 3 insertions(+), 3 deletions(-)
|
|
|
|
--- a/drivers/media/i2c/imx290.c
|
|
+++ b/drivers/media/i2c/imx290.c
|
|
@@ -762,6 +762,9 @@ static int imx290_start_streaming(struct
|
|
return ret;
|
|
}
|
|
|
|
+ /* Set data lane count */
|
|
+ imx290_set_data_lanes(imx290);
|
|
+
|
|
/* Apply the register values related to current frame format */
|
|
format = v4l2_subdev_get_pad_format(&imx290->sd, state, 0);
|
|
ret = imx290_setup_format(imx290, format);
|
|
@@ -1069,9 +1072,6 @@ static int imx290_power_on(struct imx290
|
|
gpiod_set_value_cansleep(imx290->rst_gpio, 0);
|
|
usleep_range(30000, 31000);
|
|
|
|
- /* Set data lane count */
|
|
- imx290_set_data_lanes(imx290);
|
|
-
|
|
return 0;
|
|
}
|
|
|