Commit 7d7b4b63 authored by Alexey Klimov's avatar Alexey Klimov Committed by Mauro Carvalho Chehab

V4L/DVB (10946): radio-rtrack2: fix double mutex_unlock

Patch fixes double mutex unlocking.
Signed-off-by: default avatarAlexey Klimov <klimov.linux@gmail.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 5c8e2403
...@@ -60,7 +60,6 @@ static void rt_mute(struct rtrack2 *dev) ...@@ -60,7 +60,6 @@ static void rt_mute(struct rtrack2 *dev)
mutex_lock(&dev->lock); mutex_lock(&dev->lock);
outb(1, dev->io); outb(1, dev->io);
mutex_unlock(&dev->lock); mutex_unlock(&dev->lock);
mutex_unlock(&dev->lock);
dev->muted = 1; dev->muted = 1;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment