提交 c121b152 编写于 作者: T Tomi Valkeinen

OMAP: DSS2: fix driver probe error handling

If driver's probe failed, the uninit was not called.
Signed-off-by: NTomi Valkeinen <tomi.valkeinen@nokia.com>
上级 e020f9af
......@@ -778,6 +778,7 @@ static int dss_driver_probe(struct device *dev)
if (r) {
DSSERR("driver probe failed: %d\n", r);
dss_uninit_device(core.pdev, dssdev);
return r;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册