aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2011-03-12 04:39:44 -0500
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-03-22 15:38:11 -0400
commit6aff72f6d511bcadbc71358ed17bc87edbf90716 (patch)
treeb32e2614d109fde96256028c8c307bb138b334a8 /drivers/media
parent2e4784d0d3a6167e905a49d0dafa40b022fa1a55 (diff)
[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')
-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)
980 /* Try to claim this stream */ 980 /* Try to claim this stream */
981 if (ivtv_claim_stream(item, item->type)) { 981 if (ivtv_claim_stream(item, item->type)) {
982 /* No, it's already in use */ 982 /* No, it's already in use */
983 v4l2_fh_exit(&item->fh);
983 kfree(item); 984 kfree(item);
984 return -EBUSY; 985 return -EBUSY;
985 } 986 }