[media] via-camera: pass correct format settings to sensor
authorDaniel Drake <dsd@laptop.org>
Sun, 15 Jul 2012 20:23:05 +0000 (17:23 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 31 Jul 2012 01:01:08 +0000 (22:01 -0300)
commit7980a4d544a451bd99ee9f8714f7dc6d5104a2b7
treeb00a9a914e539b97e7a4f783241ab57860e400ea
parentfc4b3fa714fb2a078531bccb501cf2ef8c7f888a
[media] via-camera: pass correct format settings to sensor

The code attempts to maintain a "user format" and a "sensor format",
but in this case it looks like a typo is passing the user format down
to the sensor.

This was preventing display of video at anything other than 640x480.

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