mirror of
https://github.com/torvalds/linux
synced 2024-11-05 18:23:50 +00:00
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>
This commit is contained in:
parent
5c8e2403ba
commit
7d7b4b6352
1 changed files with 0 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue