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: Archit Taneja <archit@ti.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
This commit is contained in:
Archit Taneja 2014-05-08 14:45:12 +05:30 committed by Tomi Valkeinen
parent a41ca72e57
commit 0059277276

View file

@ -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;