summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/cx88/cx88-blackbird.c
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2008-09-03 00:00:21 +0200
committerHans Verkuil <hverkuil@xs4all.nl>2008-09-03 00:00:21 +0200
commitca1721138b54195b4deee4c1f90952e7789a4c67 (patch)
treed30c4613112e6b95bee7e601f8d88ed3e2ee7e58 /linux/drivers/media/video/cx88/cx88-blackbird.c
parent5b13fd9ada96757a97270032bc1cf1d2f90036e2 (diff)
downloadmediapointer-dvb-s2-ca1721138b54195b4deee4c1f90952e7789a4c67.tar.gz
mediapointer-dvb-s2-ca1721138b54195b4deee4c1f90952e7789a4c67.tar.bz2
cx88: add missing unlock_kernel
From: Hans Verkuil <hverkuil@xs4all.nl> sparse found an unbalanced BKL usage. Priority: high Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'linux/drivers/media/video/cx88/cx88-blackbird.c')
-rw-r--r--linux/drivers/media/video/cx88/cx88-blackbird.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/linux/drivers/media/video/cx88/cx88-blackbird.c b/linux/drivers/media/video/cx88/cx88-blackbird.c
index 0cd510814..5f44368f6 100644
--- a/linux/drivers/media/video/cx88/cx88-blackbird.c
+++ b/linux/drivers/media/video/cx88/cx88-blackbird.c
@@ -1092,6 +1092,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;
}
}