提交 0f2cfa81 编写于 作者: B Boris Brezillon

drm: atmel-hlcdc: remove useless pm_runtime_put_sync in probe

Remove a useless pm_runtime_put_sync leading to unbalanced
usage_count.
Signed-off-by: NBoris Brezillon <boris.brezillon@free-electrons.com>
Reported-by: NSylvain Rochet <sylvain.rochet@finsecur.com>
上级 bd4248bb
......@@ -311,8 +311,6 @@ static int atmel_hlcdc_dc_load(struct drm_device *dev)
pm_runtime_enable(dev->dev);
pm_runtime_put_sync(dev->dev);
ret = atmel_hlcdc_dc_modeset_init(dev);
if (ret < 0) {
dev_err(dev->dev, "failed to initialize mode setting\n");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册