Skip to content

Commit 135aedc

Browse files
hverkuilMauro Carvalho Chehab
authored andcommitted
V4L/DVB (8904): cx88: add missing unlock_kernel
sparse found an unbalanced BKL usage. Signed-off-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
1 parent b675c05 commit 135aedc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/media/video/cx88/cx88-blackbird.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1070,6 +1070,7 @@ static int mpeg_open(struct inode *inode, struct file *file)
10701070
err = drv->request_acquire(drv);
10711071
if(err != 0) {
10721072
dprintk(1,"%s: Unable to acquire hardware, %d\n", __func__, err);
1073+
unlock_kernel();
10731074
return err;
10741075
}
10751076
}

0 commit comments

Comments
 (0)