diff options
Diffstat (limited to 'drivers/media/video/cpia2')
-rw-r--r-- | drivers/media/video/cpia2/cpia2_v4l.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/video/cpia2/cpia2_v4l.c b/drivers/media/video/cpia2/cpia2_v4l.c index 6f91415eb7b4..5520789854da 100644 --- a/drivers/media/video/cpia2/cpia2_v4l.c +++ b/drivers/media/video/cpia2/cpia2_v4l.c | |||
@@ -324,7 +324,7 @@ static int cpia2_close(struct file *file) | |||
324 | { | 324 | { |
325 | if(fh->mmapped) | 325 | if(fh->mmapped) |
326 | cam->mmapped = 0; | 326 | cam->mmapped = 0; |
327 | v4l2_prio_close(&cam->prio,&fh->prio); | 327 | v4l2_prio_close(&cam->prio, fh->prio); |
328 | file->private_data = NULL; | 328 | file->private_data = NULL; |
329 | kfree(fh); | 329 | kfree(fh); |
330 | } | 330 | } |
@@ -1592,7 +1592,7 @@ static long cpia2_do_ioctl(struct file *file, unsigned int cmd, void *arg) | |||
1592 | case VIDIOC_S_FMT: | 1592 | case VIDIOC_S_FMT: |
1593 | { | 1593 | { |
1594 | struct cpia2_fh *fh = file->private_data; | 1594 | struct cpia2_fh *fh = file->private_data; |
1595 | retval = v4l2_prio_check(&cam->prio, &fh->prio); | 1595 | retval = v4l2_prio_check(&cam->prio, fh->prio); |
1596 | if(retval) { | 1596 | if(retval) { |
1597 | mutex_unlock(&cam->busy_lock); | 1597 | mutex_unlock(&cam->busy_lock); |
1598 | return retval; | 1598 | return retval; |