From: Hans Verkuil Date: Tue, 2 Sep 2008 22:00:21 +0000 (-0300) Subject: V4L/DVB (8904): cx88: add missing unlock_kernel X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=135aedc38e812b922aa56096f36a3d72ffbcf2fb;p=openwrt%2Fstaging%2Fblogic.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 9a1374a38ec7..6b922066a660 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; } }