projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6814e21
)
media: i2c: imx219: remove redundant writes
author
Sameer Puri
<purisame@spuri.io>
Mon, 13 Apr 2020 15:51:47 +0000
(17:51 +0200)
committer
Mauro Carvalho Chehab
<mchehab+huawei@kernel.org>
Fri, 27 Nov 2020 10:13:47 +0000
(11:13 +0100)
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>
drivers/media/i2c/imx219.c
patch
|
blob
|
history
diff --git
a/drivers/media/i2c/imx219.c
b/drivers/media/i2c/imx219.c
index 2b17ec0ddbbef74f6d1cf50f9eb87f95ce914254..982828d19d64dddcda677bfe16d47fcd532bd59b 100644
(file)
--- 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[] = {