The patch number 14378 was added via Douglas Schilling Landgraf 
<[email protected]>
to http://linuxtv.org/hg/v4l-dvb master development tree.

Kernel patches in this development tree may be modified to be backward
compatible with older kernels. Compatibility modifications will be
removed before inclusion into the mainstream Kernel

If anyone has any objections, please let us know by sending a message to:
        Linux Media Mailing List <[email protected]>

------

From: Hans de Goede  <[email protected]>
gscpa_sonixb: limit ov7630 max framerate at 640x480


In 640x480, if the reg11 has less than 4, the image is
unstable (the bridge goes into a higher compression mode
which we have not reverse engineered yet).

Priority: normal

Signed-off-by: Hans de Goede <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Signed-off-by: Douglas Schilling Landgraf <[email protected]>


---

 linux/drivers/media/video/gspca/sonixb.c |    9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff -r e2d4fb2c4539 -r a218010aa1ef linux/drivers/media/video/gspca/sonixb.c
--- a/linux/drivers/media/video/gspca/sonixb.c  Thu Mar 04 00:18:55 2010 -0300
+++ b/linux/drivers/media/video/gspca/sonixb.c  Thu Mar 04 00:20:55 2010 -0300
@@ -839,10 +839,11 @@
                else if (reg11 > 16)
                        reg11 = 16;
 
-               /* In 640x480, if the reg11 has less than 3, the image is
-                  unstable (not enough bandwidth). */
-               if (gspca_dev->width == 640 && reg11 < 3)
-                       reg11 = 3;
+               /* In 640x480, if the reg11 has less than 4, the image is
+                  unstable (the bridge goes into a higher compression mode
+                  which we have not reverse engineered yet). */
+               if (gspca_dev->width == 640 && reg11 < 4)
+                       reg11 = 4;
 
                /* frame exposure time in ms = 1000 * reg11 / 30    ->
                reg10 = (sd->exposure / 2) * reg10_max / (1000 * reg11 / 30) */


---

Patch is available at: 
http://linuxtv.org/hg/v4l-dvb/rev/a218010aa1efcb2822b20602a9f8d581d955e2f2

_______________________________________________
linuxtv-commits mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to