]> err.no Git - linux-2.6/commit
V4L/DVB (5691): Ov7670: reset clkrc in rgb565 mode
authorJonathan Corbet <corbet@lwn.net>
Tue, 22 May 2007 03:39:00 +0000 (00:39 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Tue, 22 May 2007 19:16:29 +0000 (16:16 -0300)
commitedd75ede2d40eadb98e07d87e88fa970f86ffe9e
treeded1750d0bf6345d348573c8486e874b86dfd12e
parent7acf90c70c6ee063f7465b2f10e2083bc49f355b
V4L/DVB (5691): Ov7670: reset clkrc in rgb565 mode

A bug in the ov7670 sensor causes it to introduce noise unless the CLKRC
register is rewritten *after* setting the image mode.  Naturally,
resetting CLKRC in this way will cause other modes to fail.  So
carefully poke the register only when indicated.

Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/ov7670.c