summaryrefslogtreecommitdiff
path: root/drivers/media/video/cx88
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2008-09-02 19:00:21 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2008-09-29 11:31:19 -0300
commit135aedc38e812b922aa56096f36a3d72ffbcf2fb (patch)
tree89400700f0ea4dcac804fe57b9c509ce8b616106 /drivers/media/video/cx88
parentb675c0526e3d07742cbd62a22256a731ea6d5176 (diff)
V4L/DVB (8904): cx88: add missing unlock_kernel
sparse found an unbalanced BKL usage. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/cx88')
-rw-r--r--drivers/media/video/cx88/cx88-blackbird.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/video/cx88/cx88-blackbird.c b/drivers/media/video/cx88/cx88-blackbird.c
index 9a1374a38ec7..6b922066a660 100644
--- a/drivers/media/video/cx88/cx88-blackbird.c
+++ b/drivers/media/video/cx88/cx88-blackbird.c
@@ -1070,6 +1070,7 @@ static int mpeg_open(struct inode *inode, struct file *file)
err = drv->request_acquire(drv);
if(err != 0) {
dprintk(1,"%s: Unable to acquire hardware, %d\n", __func__, err);
+ unlock_kernel();
return err;
}
}