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
028165a336
commit
da703d6262
|
@ -1073,6 +1073,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