diff options
author | Alexey Klimov <klimov.linux@gmail.com> | 2009-03-10 09:14:00 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-03-30 17:43:18 +0200 |
commit | 7d7b4b635298fcf4c205a89486eb5f397c130f5b (patch) | |
tree | c2fdb60faed3a0b611e8ffe44917b9384fc86016 /drivers | |
parent | V4L/DVB (10945): pwc : fix LED and power setup for first open (diff) | |
download | linux-7d7b4b635298fcf4c205a89486eb5f397c130f5b.tar.xz linux-7d7b4b635298fcf4c205a89486eb5f397c130f5b.zip |
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')
-rw-r--r-- | drivers/media/radio/radio-rtrack2.c | 1 |
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) mutex_lock(&dev->lock); outb(1, dev->io); mutex_unlock(&dev->lock); - mutex_unlock(&dev->lock); dev->muted = 1; } |