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

Commit 00592772 authored by Archit Taneja's avatar Archit Taneja Committed by Tomi Valkeinen
Browse files

omapdss: remove check for simpler port/endpoint binding



The support for simpler port/endpoint binding was removed in the merged version
of omapdss DT. But dss_init_ports still tries to get to an endpoint even if no
port exists. Remove this as this doesn't work.

Signed-off-by: default avatarArchit Taneja <archit@ti.com>
Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
parent a41ca72e
Loading
Loading
Loading
Loading
+1 −5
Original line number Original line Diff line number Diff line
@@ -784,12 +784,8 @@ static int __init dss_init_ports(struct platform_device *pdev)
		return 0;
		return 0;


	port = omapdss_of_get_next_port(parent, NULL);
	port = omapdss_of_get_next_port(parent, NULL);
	if (!port) {
	if (!port)
#ifdef CONFIG_OMAP2_DSS_DPI
		dpi_init_port(pdev, parent);
#endif
		return 0;
		return 0;
	}


	do {
	do {
		u32 reg;
		u32 reg;