Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d18bc455 authored by Ricardo Neri's avatar Ricardo Neri Committed by Tomi Valkeinen
Browse files

OMAPDSS: HDMI: Uninit display on device add error



The display must be uninitialized in order to free the requested GPIOs.

Signed-off-by: default avatarRicardo Neri <ricardo.neri@ti.com>
Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
parent 66a06b0c
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1025,6 +1025,7 @@ static void __init hdmi_probe_pdata(struct platform_device *pdev)
	r = dss_add_device(dssdev);
	if (r) {
		DSSERR("device %s register failed: %d\n", dssdev->name, r);
		hdmi_uninit_display(dssdev);
		dss_put_device(dssdev);
		return;
	}