Skip to content
Commit 37e11062 authored by Javier Martinez Canillas's avatar Javier Martinez Canillas Committed by Inki Dae
Browse files

drm/exynos: dp: Fix panel and bridge lookup logic

Commit a9fa8528

 ("drm/exynos: dp: add of_graph dt binding support
for panel") made the Exynos DP DT binding more consistent since the OF
graph could be used to lookup either a panel or a bridge device node.

Before that commit, a panel would be looked up using a phandle and a
bridge using the OF graph which made the DT binding not consistent.

But the patch broke the later case since not finding a panel dev node
would cause the driver's to do a probe deferral instead of attempting
to lookup a bridge device node associated with the remote endpoint.

So instead of returning a -EPROBE_DEFER if a panel is not found, check
if there's a bridge and only do a probe deferral if both aren't found.

Signed-off-by: default avatarJavier Martinez Canillas <javier@osg.samsung.com>
Tested-by: default avatarMichal Suchanek <hramrach@gmail.com>
Signed-off-by: default avatarInki Dae <inki.dae@samsung.com>
parent 010848a7
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment