summaryrefslogtreecommitdiffstats
path: root/drivers/video/fbdev
diff options
context:
space:
mode:
authorArchit Taneja <archit@ti.com>2014-05-08 11:15:12 +0200
committerTomi Valkeinen <tomi.valkeinen@ti.com>2014-05-09 11:58:04 +0200
commit0059277276bdbbcfeaed454017ec70628414d3fe (patch)
treed170a3fb7de276851e7fa774e15ee85867a1f9f3 /drivers/video/fbdev
parentOMAPDSS: add __exit to dss_uninit_ports (diff)
downloadlinux-0059277276bdbbcfeaed454017ec70628414d3fe.tar.xz
linux-0059277276bdbbcfeaed454017ec70628414d3fe.zip
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>
Diffstat (limited to 'drivers/video/fbdev')
-rw-r--r--drivers/video/fbdev/omap2/dss/dss.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/video/fbdev/omap2/dss/dss.c b/drivers/video/fbdev/omap2/dss/dss.c
index a1c1cc217332..71524cb1b423 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;