From: Hans Verkuil Date: Tue, 2 Sep 2008 22:00:21 +0000 (-0300) Subject: V4L/DVB (8904): cx88: add missing unlock_kernel X-Git-Tag: v2.6.27-rc9~6^2~24 X-Git-Url: http://www.pilppa.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=135aedc38e812b922aa56096f36a3d72ffbcf2fb;hp=b675c0526e3d07742cbd62a22256a731ea6d5176;p=linux-2.6-omap-h63xx.git V4L/DVB (8904): cx88: add missing unlock_kernel sparse found an unbalanced BKL usage. Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/video/cx88/cx88-blackbird.c b/drivers/media/video/cx88/cx88-blackbird.c index 9a1374a38ec..6b922066a66 100644 --- a/drivers/media/video/cx88/cx88-blackbird.c +++ b/drivers/media/video/cx88/cx88-blackbird.c @@ -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; } }