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)
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>

No differences found