V4L/DVB (8904): cx88: add missing unlock_kernel
authorHans Verkuil <hverkuil@xs4all.nl>
Tue, 2 Sep 2008 22:00:21 +0000 (19:00 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 12 Oct 2008 11:37:14 +0000 (09:37 -0200)
sparse found an unbalanced BKL usage.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/cx88/cx88-blackbird.c

index 1b7e2e44b802fe469390fe9ac0545b1767994680..e71369754305cdfe21cab45990120115079aafa7 100644 (file)
@@ -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;
                }
        }