mirror of
https://github.com/torvalds/linux.git
synced 2024-12-30 14:52:05 +00:00
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:
parent
a41ca72e57
commit
0059277276
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user