Commit c121b152 authored by Tomi Valkeinen's avatar Tomi Valkeinen

OMAP: DSS2: fix driver probe error handling

If driver's probe failed, the uninit was not called.
Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@nokia.com>
parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment