Skip to content

Commit

Permalink
V4L/DVB (5468): Don't mirror ov7670 images by default
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jonathan Corbet authored and Mauro Carvalho Chehab committed Apr 27, 2007
1 parent ff68def commit 7f7b12f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/media/video/ov7670.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 },
Expand Down

0 comments on commit 7f7b12f

Please sign in to comment.