mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 19:56:18 +00:00
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
1 changed files with 1 additions and 0 deletions
|
@ -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 a new issue