This reverts commit
56412d6a83d8 ("MLK-13996: lcdif: Use DE polarity
specified in DTS").
We need to take the display timings from "disp-dev" if such node exists.
Revert this patch because it tries to find the display-timings in the
display controller node, even though it has been found in the display
device node.
Signed-off-by: Cristina Ciocan <cristina-mihaela.ciocan@nxp.com>
"dispdrv:%s\n", host->dispdrv->drv->name);
return;
}
+ host->sync = fb_info->var.sync;
}
if (host->reg_lcd) {
}
ret = of_property_read_string(np, "disp-dev", &disp_dev);
- if (!ret)
+ if (!ret) {
memcpy(host->disp_dev, disp_dev, strlen(disp_dev));
+ /* Timing is from encoder driver */
+ goto put_display_node;
+ }
timings = of_get_display_timings(display_np);
if (!timings) {