aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/radio/radio-rtrack2.c
diff options
context:
space:
mode:
authorAlexey Klimov <klimov.linux@gmail.com>2009-03-10 04:14:00 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-03-30 11:43:18 -0400
commit7d7b4b635298fcf4c205a89486eb5f397c130f5b (patch)
treec2fdb60faed3a0b611e8ffe44917b9384fc86016 /drivers/media/radio/radio-rtrack2.c
parent5c8e2403ba06d39f04f6ae62f3afe5542e0eb533 (diff)
V4L/DVB (10946): radio-rtrack2: fix double mutex_unlock
Patch fixes double mutex unlocking. Signed-off-by: Alexey Klimov <klimov.linux@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/radio/radio-rtrack2.c')
-rw-r--r--drivers/media/radio/radio-rtrack2.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/media/radio/radio-rtrack2.c b/drivers/media/radio/radio-rtrack2.c
index 08bd8d9dc4f1..202085978116 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)
60 mutex_lock(&dev->lock); 60 mutex_lock(&dev->lock);
61 outb(1, dev->io); 61 outb(1, dev->io);
62 mutex_unlock(&dev->lock); 62 mutex_unlock(&dev->lock);
63 mutex_unlock(&dev->lock);
64 dev->muted = 1; 63 dev->muted = 1;
65} 64}
66 65