Skip to content

Commit

Permalink
drivers: media: imx477: Disable the scaler
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
naushir committed Oct 23, 2023
1 parent 5a52cae commit f075893
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/media/i2c/imx477.c
Original file line number Diff line number Diff line change
Expand Up @@ -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},
Expand Down Expand Up @@ -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},
Expand Down

0 comments on commit f075893

Please sign in to comment.