summaryrefslogtreecommitdiffstats
path: root/drivers/media
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2008-09-03 00:00:21 +0200
committerMauro Carvalho Chehab <mchehab@redhat.com>2008-09-29 16:31:19 +0200
commit135aedc38e812b922aa56096f36a3d72ffbcf2fb (patch)
tree89400700f0ea4dcac804fe57b9c509ce8b616106 /drivers/media
parentV4L/DVB (8892): pvrusb2: Handle USB ID 2040:2950 same as 2040:2900 (diff)
downloadlinux-135aedc38e812b922aa56096f36a3d72ffbcf2fb.tar.xz
linux-135aedc38e812b922aa56096f36a3d72ffbcf2fb.zip
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')
-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;
}
}