media: i2c: imx219: remove redundant writes
[ Upstream commit fbef89886da6d7735d20fdde16a1ee6ed6c6ab56 ] 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> Stable-dep-of: ef86447e775f ("media: i2c: imx219: Fix binning for RAW8 capture") Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:

committed by
Greg Kroah-Hartman

parent
dfaafeb8e9
commit
09a0410886
@@ -262,8 +262,6 @@ static const struct imx219_reg mode_1920_1080_regs[] = {
|
|||||||
{0x4793, 0x10},
|
{0x4793, 0x10},
|
||||||
{0x4797, 0x0e},
|
{0x4797, 0x0e},
|
||||||
{0x479b, 0x0e},
|
{0x479b, 0x0e},
|
||||||
{0x0162, 0x0d},
|
|
||||||
{0x0163, 0x78},
|
|
||||||
};
|
};
|
||||||
|
|
||||||
static const struct imx219_reg mode_1640_1232_regs[] = {
|
static const struct imx219_reg mode_1640_1232_regs[] = {
|
||||||
|
Reference in New Issue
Block a user