]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[media] via-camera: specify XO-1.5 camera clock speed
authorDaniel Drake <dsd@laptop.org>
Mon, 30 Apr 2012 21:06:27 +0000 (18:06 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 14 May 2012 19:35:22 +0000 (16:35 -0300)
commita39fbb1d747aa88e410d0a25af92cd9e179ba0f4
tree3620b1ed438fa98715dfcaf119c0c62307d28e9b
parent3477e2ab0e52fe55999130eee833af9a29e2789a
[media] via-camera: specify XO-1.5 camera clock speed

For the ov7670 camera to return images at the requested frame rate,
it needs to make calculations based on the clock speed, which is
a completely external factor (depends on the wiring of the system).

On the XO-1.5, which is the only known via-camera user, the camera
is clocked at 90MHz.

Pass this information to the ov7670 driver, to fix an issue where
a framerate of 3x the requested amount was being provided.

Signed-off-by: Daniel Drake <dsd@laptop.org>
Acked-by: Jonathan Corbet <corbet@lwn.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/via-camera.c