[media] media: ov7670: Add possibility to disable pixclk during hblank
authorJavier Martin <javier.martin@vista-silicon.com>
Tue, 29 Jan 2013 10:26:38 +0000 (07:26 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 8 Feb 2013 16:35:06 +0000 (14:35 -0200)
commitee95258ed3926f3aa2cf8d62e62cd51be466fe26
treec4ad96a07a767d8c475cfaceb16003e99648a08e
parent04ee6d92047e1ac68d4eb615119343f4f0fc57db
[media] media: ov7670: Add possibility to disable pixclk during hblank

Some bridge drivers capture pixels during blanking periods if
pixclk is enabled. In order to avoid capturing bogus data we need to
disable pixclk in the sensor during those blanking periods.

Acked-by: Jonathan Corbet <corbet@lwn.net>
Signed-off-by: Javier Martin <javier.martin@vista-silicon.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/i2c/ov7670.c
include/media/ov7670.h