projects
/
platform
/
kernel
/
kernel-mfld-blackbay.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8794589
)
V4L/DVB (9994): gspca: t613: Bad loop in om6802 reset.
author
Roel Kluin
<roel.kluin@gmail.com>
Sun, 21 Dec 2008 14:58:05 +0000
(11:58 -0300)
committer
Mauro Carvalho Chehab
<mchehab@redhat.com>
Tue, 30 Dec 2008 11:39:43 +0000
(09:39 -0200)
Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/gspca/t613.c
patch
|
blob
|
history
diff --git
a/drivers/media/video/gspca/t613.c
b/drivers/media/video/gspca/t613.c
index
eac245d
..
42126b5
100644
(file)
--- a/
drivers/media/video/gspca/t613.c
+++ b/
drivers/media/video/gspca/t613.c
@@
-499,7
+499,7
@@
static void om6802_sensor_init(struct gspca_dev *gspca_dev)
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;