Commit 135aedc3 authored by Hans Verkuil's avatar Hans Verkuil Committed by Mauro Carvalho Chehab

V4L/DVB (8904): cx88: add missing unlock_kernel

sparse found an unbalanced BKL usage.
Signed-off-by: default avatarHans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent b675c052
...@@ -1070,6 +1070,7 @@ static int mpeg_open(struct inode *inode, struct file *file) ...@@ -1070,6 +1070,7 @@ static int mpeg_open(struct inode *inode, struct file *file)
err = drv->request_acquire(drv); err = drv->request_acquire(drv);
if(err != 0) { if(err != 0) {
dprintk(1,"%s: Unable to acquire hardware, %d\n", __func__, err); dprintk(1,"%s: Unable to acquire hardware, %d\n", __func__, err);
unlock_kernel();
return err; return err;
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment