summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/ivtv
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2011-03-12 06:39:44 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-03-22 16:38:11 -0300
commit6aff72f6d511bcadbc71358ed17bc87edbf90716 (patch)
treeb32e2614d109fde96256028c8c307bb138b334a8 /drivers/media/video/ivtv
parent2e4784d0d3a6167e905a49d0dafa40b022fa1a55 (diff)
downloadblackbird-op-linux-6aff72f6d511bcadbc71358ed17bc87edbf90716.tar.gz
blackbird-op-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;
}
OpenPOWER on IntegriCloud