From: Naushir Patuck Date: Mon, 23 Oct 2023 09:03:03 +0000 (+0100) Subject: drivers: media: imx477: Disable the scaler X-Git-Tag: accepted/tizen/unified/20240422.153132~289 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f742cdc2a423f0cb68bbd894967725e7c9152aa8;p=platform%2Fkernel%2Flinux-rpi.git drivers: media: imx477: Disable the scaler The horizontal scaler was enabled for the 2028x1520 and 2028x1080 modes, with a scale factor of 1. It caused a single column of bad pixels on the right edge of the image. Since scaling is not needed for these modes, disable it entirely. Signed-off-by: Naushir Patuck --- diff --git a/drivers/media/i2c/imx477.c b/drivers/media/i2c/imx477.c index eb1c8b2..e848f64 100644 --- a/drivers/media/i2c/imx477.c +++ b/drivers/media/i2c/imx477.c @@ -632,7 +632,7 @@ static const struct imx477_reg mode_2028x1520_regs[] = { {0x9e9f, 0x00}, {0xa2a9, 0x60}, {0xa2b7, 0x00}, - {0x0401, 0x01}, + {0x0401, 0x00}, {0x0404, 0x00}, {0x0405, 0x20}, {0x0408, 0x00}, @@ -733,7 +733,7 @@ static const struct imx477_reg mode_2028x1080_regs[] = { {0x9e9f, 0x00}, {0xa2a9, 0x60}, {0xa2b7, 0x00}, - {0x0401, 0x01}, + {0x0401, 0x00}, {0x0404, 0x00}, {0x0405, 0x20}, {0x0408, 0x00},