diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-03-10 08:14:00 +0000 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-03-10 08:14:00 +0000 |
commit | fc1ae637b4c1b67d383b2531d6185cf048967ee0 (patch) | |
tree | d1310e0e38b4a2eaa756164242cd88625df18fa1 /linux/drivers/media/radio/radio-rtrack2.c | |
parent | b787d6928f6fd204f12cdb534178682662ae8fc2 (diff) | |
download | mediapointer-dvb-s2-fc1ae637b4c1b67d383b2531d6185cf048967ee0.tar.gz mediapointer-dvb-s2-fc1ae637b4c1b67d383b2531d6185cf048967ee0.tar.bz2 |
radio-rtrack2: fix double mutex_unlock
From: Alexey Klimov <klimov.linux@gmail.com>
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 'linux/drivers/media/radio/radio-rtrack2.c')
-rw-r--r-- | linux/drivers/media/radio/radio-rtrack2.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/linux/drivers/media/radio/radio-rtrack2.c b/linux/drivers/media/radio/radio-rtrack2.c index 93b3da04a..92fae4acd 100644 --- a/linux/drivers/media/radio/radio-rtrack2.c +++ b/linux/drivers/media/radio/radio-rtrack2.c @@ -61,7 +61,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; } |