diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2008-09-02 18:00:21 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2008-10-12 07:37:14 -0400 |
commit | da703d6262b5d168a4ceb427255cfcf3771b8f96 (patch) | |
tree | 0306b98bec677e82b322cea1c5944b7556f57796 | |
parent | 028165a336ab7d097d23e2af936dea373e3d3afc (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>
-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 1b7e2e44b80..e7136975430 100644 --- a/drivers/media/video/cx88/cx88-blackbird.c +++ b/drivers/media/video/cx88/cx88-blackbird.c | |||
@@ -1073,6 +1073,7 @@ static int mpeg_open(struct inode *inode, struct file *file) | |||
1073 | err = drv->request_acquire(drv); | 1073 | err = drv->request_acquire(drv); |
1074 | if(err != 0) { | 1074 | if(err != 0) { |
1075 | dprintk(1,"%s: Unable to acquire hardware, %d\n", __func__, err); | 1075 | dprintk(1,"%s: Unable to acquire hardware, %d\n", __func__, err); |
1076 | unlock_kernel(); | ||
1076 | return err; | 1077 | return err; |
1077 | } | 1078 | } |
1078 | } | 1079 | } |