]> git.baikalelectronics.ru Git - kernel.git/commit
V4L/DVB (12077): gspca_ov519: Fix 320x240 with ov7660 sensor
authorHans de Goede <hdegoede@redhat.com>
Sun, 14 Jun 2009 09:26:49 +0000 (06:26 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 23 Jun 2009 06:12:08 +0000 (03:12 -0300)
commit4ed102326d87d77686fbe9d34a023893b03393ed
tree31ccf889d5f2e45cbb1b7c54ba7488e66f35eee7
parent7da175d0c5fe9f3ce4daddea1b497f89bc2fc3f8
V4L/DVB (12077): gspca_ov519: Fix 320x240 with ov7660 sensor

As reported on the ov51x-jpeg list, and as I can confirm with my own cam
the ov7670 in 320x240 has a number of broken columns of pixels
at the left of the picture. This was not present in the old
driver as it always used 640x480 and did software
downscaling (took me a while to figure that one out).
The fix adds a sensor specific if in so far sensor
neutral code :( But this is the only way to fix this,
this cannot be fixed by only changing sensor registers.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/gspca/ov519.c