From: Archit Taneja Date: Thu, 8 May 2014 09:15:12 +0000 (+0530) Subject: omapdss: remove check for simpler port/endpoint binding X-Git-Tag: v4.9.8~6270^2~23^2~32 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0059277276bdbbcfeaed454017ec70628414d3fe;p=platform%2Fkernel%2Flinux-rpi3.git 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 Signed-off-by: Tomi Valkeinen --- diff --git a/drivers/video/fbdev/omap2/dss/dss.c b/drivers/video/fbdev/omap2/dss/dss.c index a1c1cc2..71524cb 100644 --- a/drivers/video/fbdev/omap2/dss/dss.c +++ b/drivers/video/fbdev/omap2/dss/dss.c @@ -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;