]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
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>
Mon, 29 Sep 2008 14:31:19 +0000 (11:31 -0300)
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 9a1374a38ec75a315463c02e83f5c6ad113b6fb4..6b922066a66011a79ce3dc8f476ece93898b9e33 100644 (file)
@@ -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;
                }
        }