提交 dfd36d83 编写于 作者: M Mauro Carvalho Chehab

V4L/DVB: tm6000: fix mutex lock unbalance

Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
上级 762e17eb
......@@ -496,6 +496,7 @@ static int tm6000_init_dev(struct tm6000_core *dev)
}
#endif
}
mutex_unlock(&dev->lock);
return 0;
err2:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册