The patch number 9994 was added via Jean-Francois Moine <[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:
        [email protected]

------

From: Roel Kluin  <[email protected]>
gspca: t613: Bad loop in om6802 reset.


Priority: normal

Signed-off-by: Roel Kluin <[email protected]>
Signed-off-by: Jean-Francois Moine <[email protected]>


---

 linux/drivers/media/video/gspca/t613.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -r 005567806273 -r 95a76f5f9711 linux/drivers/media/video/gspca/t613.c
--- a/linux/drivers/media/video/gspca/t613.c    Sat Dec 20 18:32:30 2008 +0100
+++ b/linux/drivers/media/video/gspca/t613.c    Sun Dec 21 15:58:05 2008 +0100
@@ -499,7 +499,7 @@ static void om6802_sensor_init(struct gs
        reg_w_buf(gspca_dev, sensor_reset, sizeof sensor_reset);
        msleep(5);
        i = 4;
-       while (--i < 0) {
+       while (--i > 0) {
                byte = reg_r(gspca_dev, 0x0060);
                if (!(byte & 0x01))
                        break;


---

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

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

Reply via email to