Skip to content

Commit b89e5e0

Browse files
Umang Jainpopcornmix
authored andcommitted
media: imx335: Rectify name of mode struct
In commit 81495a5 ("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>
1 parent 069c954 commit b89e5e0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

drivers/media/i2c/imx335.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ static const int imx335_tpg_val[] = {
252252
};
253253

254254
/* Sensor mode registers */
255-
static const struct cci_reg_sequence mode_2592x1940_regs[] = {
255+
static const struct cci_reg_sequence mode_2592x1944_regs[] = {
256256
{ IMX335_REG_MODE_SELECT, IMX335_MODE_STANDBY },
257257
{ IMX335_REG_MASTER_MODE, 0x00 },
258258
{ IMX335_REG_WINMODE, 0x04 },
@@ -416,8 +416,8 @@ static const struct imx335_mode supported_mode = {
416416
.vblank_max = 133060,
417417
.pclk = 396000000,
418418
.reg_list = {
419-
.num_of_regs = ARRAY_SIZE(mode_2592x1940_regs),
420-
.regs = mode_2592x1940_regs,
419+
.num_of_regs = ARRAY_SIZE(mode_2592x1944_regs),
420+
.regs = mode_2592x1944_regs,
421421
},
422422
};
423423

0 commit comments

Comments
 (0)