OSDN Git Service

omapdss: remove check for simpler port/endpoint binding
authorArchit Taneja <archit@ti.com>
Thu, 8 May 2014 09:15:12 +0000 (14:45 +0530)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 9 May 2014 09:58:04 +0000 (12:58 +0300)
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>
drivers/video/fbdev/omap2/dss/dss.c

index a1c1cc2..71524cb 100644 (file)
@@ -784,12 +784,8 @@ static int __init dss_init_ports(struct platform_device *pdev)
                return 0;
 
        port = omapdss_of_get_next_port(parent, NULL);
-       if (!port) {
-#ifdef CONFIG_OMAP2_DSS_DPI
-               dpi_init_port(pdev, parent);
-#endif
+       if (!port)
                return 0;
-       }
 
        do {
                u32 reg;