提交 7d7b4b63 编写于 作者: A Alexey Klimov 提交者: Mauro Carvalho Chehab

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

Patch fixes double mutex unlocking.
Signed-off-by: NAlexey Klimov <klimov.linux@gmail.com>
Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
上级 5c8e2403
......@@ -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;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册