aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video')
-rw-r--r--drivers/media/video/gspca/t613.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/gspca/t613.c b/drivers/media/video/gspca/t613.c
index eac245d7a756..42126b549971 100644
--- 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)
499 reg_w_buf(gspca_dev, sensor_reset, sizeof sensor_reset); 499 reg_w_buf(gspca_dev, sensor_reset, sizeof sensor_reset);
500 msleep(5); 500 msleep(5);
501 i = 4; 501 i = 4;
502 while (--i < 0) { 502 while (--i > 0) {
503 byte = reg_r(gspca_dev, 0x0060); 503 byte = reg_r(gspca_dev, 0x0060);
504 if (!(byte & 0x01)) 504 if (!(byte & 0x01))
505 break; 505 break;