aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/zr364xx.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/zr364xx.c')
-rw-r--r--drivers/media/video/zr364xx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/video/zr364xx.c b/drivers/media/video/zr364xx.c
index a82b5bd18d26..7dfb01e9930e 100644
--- a/drivers/media/video/zr364xx.c
+++ b/drivers/media/video/zr364xx.c
@@ -572,7 +572,7 @@ static int zr364xx_got_frame(struct zr364xx_camera *cam, int jpgsize)
572 DBG("wakeup [buf/i] [%p/%d]\n", buf, buf->vb.i); 572 DBG("wakeup [buf/i] [%p/%d]\n", buf, buf->vb.i);
573unlock: 573unlock:
574 spin_unlock_irqrestore(&cam->slock, flags); 574 spin_unlock_irqrestore(&cam->slock, flags);
575 return 0; 575 return rc;
576} 576}
577 577
578/* this function moves the usb stream read pipe data 578/* this function moves the usb stream read pipe data
@@ -1304,7 +1304,7 @@ static int zr364xx_open(struct file *file)
1304 NULL, &cam->slock, 1304 NULL, &cam->slock,
1305 cam->type, 1305 cam->type,
1306 V4L2_FIELD_NONE, 1306 V4L2_FIELD_NONE,
1307 sizeof(struct zr364xx_buffer), cam); 1307 sizeof(struct zr364xx_buffer), cam, NULL);
1308 1308
1309 /* Added some delay here, since opening/closing the camera quickly, 1309 /* Added some delay here, since opening/closing the camera quickly,
1310 * like Ekiga does during its startup, can crash the webcam 1310 * like Ekiga does during its startup, can crash the webcam