summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorSameer Puri <purisame@spuri.io>2020-04-13 17:51:47 +0200
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2020-11-27 11:13:47 +0100
commitfbef89886da6d7735d20fdde16a1ee6ed6c6ab56 (patch)
tree58639a9b28c3e3dca6daf34d29cde68075551f33 /drivers
parent6814e218b9c0fc3a1a6aaf8ee186f7e91968173c (diff)
media: i2c: imx219: remove redundant writes
These writes to 0x162, 0x163 already appear earlier in the struct for the 1920x1080 mode and do not need to be repeated. Signed-off-by: Sameer Puri <purisame@spuri.io> Reviewed-by: Dave Stevenson <dave.stevenson@raspberrypi.com> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/media/i2c/imx219.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/media/i2c/imx219.c b/drivers/media/i2c/imx219.c
index 2b17ec0ddbbe..982828d19d64 100644
--- a/drivers/media/i2c/imx219.c
+++ b/drivers/media/i2c/imx219.c
@@ -262,8 +262,6 @@ static const struct imx219_reg mode_1920_1080_regs[] = {
{0x4793, 0x10},
{0x4797, 0x0e},
{0x479b, 0x0e},
- {0x0162, 0x0d},
- {0x0163, 0x78},
};
static const struct imx219_reg mode_1640_1232_regs[] = {