mirror of
https://github.com/torvalds/linux.git
synced 2024-12-04 18:13:04 +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
@ -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 New Issue
Block a user