summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/ivtv
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2011-03-12 10:39:44 +0100
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-03-22 20:38:11 +0100
commit6aff72f6d511bcadbc71358ed17bc87edbf90716 (patch)
treeb32e2614d109fde96256028c8c307bb138b334a8 /drivers/media/video/ivtv
parent[media] vivi: convert to core priority handling (diff)
downloadlinux-6aff72f6d511bcadbc71358ed17bc87edbf90716.tar.xz
linux-6aff72f6d511bcadbc71358ed17bc87edbf90716.zip
[media] ivtv: add missing v4l2_fh_exit
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/ivtv')
-rw-r--r--drivers/media/video/ivtv/ivtv-fileops.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/video/ivtv/ivtv-fileops.c b/drivers/media/video/ivtv/ivtv-fileops.c
index 4463bf4ec4ee..a7f54b010a5c 100644
--- a/drivers/media/video/ivtv/ivtv-fileops.c
+++ b/drivers/media/video/ivtv/ivtv-fileops.c
@@ -980,6 +980,7 @@ static int ivtv_serialized_open(struct ivtv_stream *s, struct file *filp)
/* Try to claim this stream */
if (ivtv_claim_stream(item, item->type)) {
/* No, it's already in use */
+ v4l2_fh_exit(&item->fh);
kfree(item);
return -EBUSY;
}