From: Alexey Klimov Date: Tue, 10 Mar 2009 08:14:00 +0000 (-0300) Subject: V4L/DVB (10946): radio-rtrack2: fix double mutex_unlock X-Git-Tag: v2.6.30-rc1~621^2~256 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7d7b4b635298fcf4c205a89486eb5f397c130f5b;p=platform%2Fupstream%2Fkernel-adaptation-pc.git V4L/DVB (10946): radio-rtrack2: fix double mutex_unlock Patch fixes double mutex unlocking. Signed-off-by: Alexey Klimov Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/radio/radio-rtrack2.c b/drivers/media/radio/radio-rtrack2.c index 08bd8d9..2020859 100644 --- a/drivers/media/radio/radio-rtrack2.c +++ b/drivers/media/radio/radio-rtrack2.c @@ -60,7 +60,6 @@ static void rt_mute(struct rtrack2 *dev) mutex_lock(&dev->lock); outb(1, dev->io); mutex_unlock(&dev->lock); - mutex_unlock(&dev->lock); dev->muted = 1; }