Toggle camera mirror bit
Jonathan Corbet
corbet at lwn.unroutablenet
Mon Dec 18 15:17:22 EST 2006
Commit: d1f2d751c8f50f48f3ff24dee9d4eca772364f09
Parent: 05d3a8c1b0cedd74943a8d67bcada0408d893bda
commit d1f2d751c8f50f48f3ff24dee9d4eca772364f09
Author: Jonathan Corbet <corbet at lwn.net>
AuthorDate: Mon Dec 18 15:23:25 2006 -0500
Commit: Andres Salomon <dilinger at debian.org>
CommitDate: Mon Dec 18 15:23:25 2006 -0500
Toggle camera mirror bit
Here's a patch which turns off the "mirror" bit by default, which seems
to be the right way to do things. It can always be tweaked via the V4L2
interface...
jon
Signed-off-by: Andres Salomon <dilinger at debian.org>
---
drivers/media/video/ov7670.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/media/video/ov7670.c b/drivers/media/video/ov7670.c
index 4fceabd..ad50d96 100644
--- a/drivers/media/video/ov7670.c
+++ b/drivers/media/video/ov7670.c
@@ -255,7 +255,7 @@ static struct regval_list ov7670_default
/* 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 },
More information about the Commits-kernel
mailing list