diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2008-09-02 18:00:21 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2008-09-29 10:31:19 -0400 |
commit | 135aedc38e812b922aa56096f36a3d72ffbcf2fb (patch) | |
tree | 89400700f0ea4dcac804fe57b9c509ce8b616106 /drivers/media/video/cx88/cx88-blackbird.c | |
parent | b675c0526e3d07742cbd62a22256a731ea6d5176 (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/cx88-blackbird.c')
-rw-r--r-- | drivers/media/video/cx88/cx88-blackbird.c | 1 |
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) | |||
1070 | err = drv->request_acquire(drv); | 1070 | err = drv->request_acquire(drv); |
1071 | if(err != 0) { | 1071 | if(err != 0) { |
1072 | dprintk(1,"%s: Unable to acquire hardware, %d\n", __func__, err); | 1072 | dprintk(1,"%s: Unable to acquire hardware, %d\n", __func__, err); |
1073 | unlock_kernel(); | ||
1073 | return err; | 1074 | return err; |
1074 | } | 1075 | } |
1075 | } | 1076 | } |