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>
This commit is contained in:
parent
b675c0526e
commit
135aedc38e
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue