Skip to content
Commit a0071bc4 authored by Nicolas Boichat's avatar Nicolas Boichat Committed by CK Hu
Browse files

drm/mediatek: Only try to attach bridge if there is one



Even if dsi->bridge is NULL, we still try to call drm_bridge_attach,
and print out an error message, before creating the connector.

When no bridge is provided, let's skip these 2 steps and directly
create the connector.

Signed-off-by: default avatarNicolas Boichat <drinkcat@chromium.org>
Signed-off-by: default avatarCK Hu <ck.hu@mediatek.com>
Reviewed-by: default avatarAndrzej Hajda <a.hajda@samsung.com>
parent 65102238
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