aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/usb/gspca/mr97310a.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/usb/gspca/mr97310a.c')
-rw-r--r--drivers/media/usb/gspca/mr97310a.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/media/usb/gspca/mr97310a.c b/drivers/media/usb/gspca/mr97310a.c
index 8f4714df5990..68bb2f359666 100644
--- a/drivers/media/usb/gspca/mr97310a.c
+++ b/drivers/media/usb/gspca/mr97310a.c
@@ -289,7 +289,7 @@ static int zero_the_pointer(struct gspca_dev *gspca_dev)
289 return err_code; 289 return err_code;
290 } 290 }
291 if (status != 0x0a) 291 if (status != 0x0a)
292 PDEBUG(D_ERR, "status is %02x", status); 292 PERR("status is %02x", status);
293 293
294 tries = 0; 294 tries = 0;
295 while (tries < 4) { 295 while (tries < 4) {
@@ -330,7 +330,7 @@ static void stream_stop(struct gspca_dev *gspca_dev)
330 gspca_dev->usb_buf[0] = 0x01; 330 gspca_dev->usb_buf[0] = 0x01;
331 gspca_dev->usb_buf[1] = 0x00; 331 gspca_dev->usb_buf[1] = 0x00;
332 if (mr_write(gspca_dev, 2) < 0) 332 if (mr_write(gspca_dev, 2) < 0)
333 PDEBUG(D_ERR, "Stream Stop failed"); 333 PERR("Stream Stop failed");
334} 334}
335 335
336static void lcd_stop(struct gspca_dev *gspca_dev) 336static void lcd_stop(struct gspca_dev *gspca_dev)
@@ -338,7 +338,7 @@ static void lcd_stop(struct gspca_dev *gspca_dev)
338 gspca_dev->usb_buf[0] = 0x19; 338 gspca_dev->usb_buf[0] = 0x19;
339 gspca_dev->usb_buf[1] = 0x54; 339 gspca_dev->usb_buf[1] = 0x54;
340 if (mr_write(gspca_dev, 2) < 0) 340 if (mr_write(gspca_dev, 2) < 0)
341 PDEBUG(D_ERR, "LCD Stop failed"); 341 PERR("LCD Stop failed");
342} 342}
343 343
344static int isoc_enable(struct gspca_dev *gspca_dev) 344static int isoc_enable(struct gspca_dev *gspca_dev)
@@ -1026,7 +1026,7 @@ static void sd_pkt_scan(struct gspca_dev *gspca_dev,
1026 struct sd *sd = (struct sd *) gspca_dev; 1026 struct sd *sd = (struct sd *) gspca_dev;
1027 unsigned char *sof; 1027 unsigned char *sof;
1028 1028
1029 sof = pac_find_sof(&sd->sof_read, data, len); 1029 sof = pac_find_sof(gspca_dev, &sd->sof_read, data, len);
1030 if (sof) { 1030 if (sof) {
1031 int n; 1031 int n;
1032 1032