summaryrefslogtreecommitdiffstats
path: root/drivers/media/radio/radio-rtrack2.c
diff options
context:
space:
mode:
authorAlexey Klimov <klimov.linux@gmail.com>2009-03-10 05:14:00 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-03-30 12:43:18 -0300
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 08bd8d9dc4f..20208597811 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;
}