projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ff68def
)
V4L/DVB (5468): Don't mirror ov7670 images by default
author
Jonathan Corbet
<corbet@lwn.net>
Sun, 25 Mar 2007 14:36:42 +0000
(11:36 -0300)
committer
Mauro Carvalho Chehab
<mchehab@infradead.org>
Fri, 27 Apr 2007 18:45:05 +0000
(15:45 -0300)
Don't mirror ov7670 images by default.
The ov7670 sensor driver sets the mirror bit by default, which is not
the desired mode. OLPC has been running with this patch for a while.
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/ov7670.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/media/video/ov7670.c
b/drivers/media/video/ov7670.c
index 5234762c5427da469c607a3350fa5091d20ccff3..1e3c87a08430283760d1d0668f48e8fb10f1870b 100644
(file)
--- a/
drivers/media/video/ov7670.c
+++ b/
drivers/media/video/ov7670.c
@@
-256,7
+256,7
@@
static struct regval_list ov7670_default_regs[] = {
/* Almost all of these are magic "reserved" values. */
{ REG_COM5, 0x61 }, { REG_COM6, 0x4b },
- { 0x16, 0x02 }, { REG_MVFP, 0x07
|MVFP_MIRROR
},
+ { 0x16, 0x02 }, { REG_MVFP, 0x07 },
{ 0x21, 0x02 }, { 0x22, 0x91 },
{ 0x29, 0x07 }, { 0x33, 0x0b },
{ 0x35, 0x0b }, { 0x37, 0x1d },