mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-07-07 14:47:08 +08:00

These patches were generated from: https://github.com/raspberrypi/linux/commits/rpi-6.12.y With the following command: git format-patch -N v6.12.27..HEAD (HEAD -> 8d3206ee456a5ecdf9ddbfd8e5e231e4f0cd716e) Exceptions: - (def)configs patches - github workflows patches - applied & reverted patches - readme patches - wireless patches Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
39 lines
1.4 KiB
Diff
39 lines
1.4 KiB
Diff
From f9d30b920df12e6cf47eaafb9eb827ac3ae29346 Mon Sep 17 00:00:00 2001
|
|
From: Umang Jain <umang.jain@ideasonboard.com>
|
|
Date: Fri, 30 Aug 2024 11:56:38 +0530
|
|
Subject: [PATCH] media: imx335: Rectify name of mode struct
|
|
|
|
In commit 81495a59baeb ("media: imx335: Fix active area height discrepency")
|
|
the height for the mode struct was rectified to '1944'. However, the
|
|
name of mode struct is still reflecting to '1940'. Update it.
|
|
|
|
Signed-off-by: Umang Jain <umang.jain@ideasonboard.com>
|
|
Reviewed-by: Tommaso Merciai <tomm.merciai@gmail.com>
|
|
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
|
|
---
|
|
drivers/media/i2c/imx335.c | 6 +++---
|
|
1 file changed, 3 insertions(+), 3 deletions(-)
|
|
|
|
--- a/drivers/media/i2c/imx335.c
|
|
+++ b/drivers/media/i2c/imx335.c
|
|
@@ -252,7 +252,7 @@ static const int imx335_tpg_val[] = {
|
|
};
|
|
|
|
/* Sensor mode registers */
|
|
-static const struct cci_reg_sequence mode_2592x1940_regs[] = {
|
|
+static const struct cci_reg_sequence mode_2592x1944_regs[] = {
|
|
{ IMX335_REG_MODE_SELECT, IMX335_MODE_STANDBY },
|
|
{ IMX335_REG_MASTER_MODE, 0x00 },
|
|
{ IMX335_REG_WINMODE, 0x04 },
|
|
@@ -416,8 +416,8 @@ static const struct imx335_mode supporte
|
|
.vblank_max = 133060,
|
|
.pclk = 396000000,
|
|
.reg_list = {
|
|
- .num_of_regs = ARRAY_SIZE(mode_2592x1940_regs),
|
|
- .regs = mode_2592x1940_regs,
|
|
+ .num_of_regs = ARRAY_SIZE(mode_2592x1944_regs),
|
|
+ .regs = mode_2592x1944_regs,
|
|
},
|
|
};
|
|
|