aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/gspca/konica.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/gspca/konica.c')
-rw-r--r--drivers/media/video/gspca/konica.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/media/video/gspca/konica.c b/drivers/media/video/gspca/konica.c
index 3a07096e7088..31ea306abccf 100644
--- a/drivers/media/video/gspca/konica.c
+++ b/drivers/media/video/gspca/konica.c
@@ -200,7 +200,7 @@ static void reg_w(struct gspca_dev *gspca_dev, u16 value, u16 index)
200 0, 200 0,
201 1000); 201 1000);
202 if (ret < 0) { 202 if (ret < 0) {
203 PDEBUG(D_ERR, "reg_w err %d", ret); 203 err("reg_w err %d", ret);
204 gspca_dev->usb_err = ret; 204 gspca_dev->usb_err = ret;
205 } 205 }
206} 206}
@@ -221,7 +221,7 @@ static void reg_r(struct gspca_dev *gspca_dev, u16 value, u16 index)
221 2, 221 2,
222 1000); 222 1000);
223 if (ret < 0) { 223 if (ret < 0) {
224 PDEBUG(D_ERR, "reg_w err %d", ret); 224 err("reg_w err %d", ret);
225 gspca_dev->usb_err = ret; 225 gspca_dev->usb_err = ret;
226 } 226 }
227} 227}
@@ -284,7 +284,7 @@ static int sd_start(struct gspca_dev *gspca_dev)
284 intf = usb_ifnum_to_if(sd->gspca_dev.dev, sd->gspca_dev.iface); 284 intf = usb_ifnum_to_if(sd->gspca_dev.dev, sd->gspca_dev.iface);
285 alt = usb_altnum_to_altsetting(intf, sd->gspca_dev.alt); 285 alt = usb_altnum_to_altsetting(intf, sd->gspca_dev.alt);
286 if (!alt) { 286 if (!alt) {
287 PDEBUG(D_ERR, "Couldn't get altsetting"); 287 err("Couldn't get altsetting");
288 return -EIO; 288 return -EIO;
289 } 289 }
290 290
@@ -386,7 +386,7 @@ static void sd_isoc_irq(struct urb *urb)
386 PDEBUG(D_ERR, "urb status: %d", urb->status); 386 PDEBUG(D_ERR, "urb status: %d", urb->status);
387 st = usb_submit_urb(urb, GFP_ATOMIC); 387 st = usb_submit_urb(urb, GFP_ATOMIC);
388 if (st < 0) 388 if (st < 0)
389 PDEBUG(D_ERR|D_PACK, "resubmit urb error %d", st); 389 err("resubmit urb error %d", st);
390 return; 390 return;
391 } 391 }
392 392
@@ -477,7 +477,7 @@ resubmit:
477 } 477 }
478 st = usb_submit_urb(status_urb, GFP_ATOMIC); 478 st = usb_submit_urb(status_urb, GFP_ATOMIC);
479 if (st < 0) 479 if (st < 0)
480 PDEBUG(D_ERR|D_PACK, "usb_submit_urb(status_urb) ret %d", st); 480 err("usb_submit_urb(status_urb) ret %d", st);
481} 481}
482 482
483static int sd_setbrightness(struct gspca_dev *gspca_dev, __s32 val) 483static int sd_setbrightness(struct gspca_dev *gspca_dev, __s32 val)