Message ID | 1399540517-17883-1-git-send-email-archit@ti.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On 08/05/14 12:15, Archit Taneja wrote: > 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> > --- > drivers/video/fbdev/omap2/dss/dss.c | 6 +----- > 1 file changed, 1 insertion(+), 5 deletions(-) > > diff --git a/drivers/video/fbdev/omap2/dss/dss.c b/drivers/video/fbdev/omap2/dss/dss.c > index d55266c..31ef262 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; > I'll try to find time to review the rest, but I'll queue this one already for 3.16. Tomi
diff --git a/drivers/video/fbdev/omap2/dss/dss.c b/drivers/video/fbdev/omap2/dss/dss.c index d55266c..31ef262 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;
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> --- drivers/video/fbdev/omap2/dss/dss.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-)