Skip to content

Commit 07c08f5

Browse files
agxsravnborg
authored andcommitted
drm/bridge: nwl-dsi: Drop DRM_BRIDGE_ATTACH_NO_CONNECTOR check.
We don't create a connector but let panel_bridge handle that so there's no point in rejecting DRM_BRIDGE_ATTACH_NO_CONNECTOR. Signed-off-by: Guido Günther <[email protected]> Reviewed-by: Laurent Pinchart <[email protected]> Signed-off-by: Sam Ravnborg <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/8b6545b991afce6add0a24f5f5d116778b0cb763.1595096667.git.agx@sigxcpu.org
1 parent d76acc9 commit 07c08f5

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

drivers/gpu/drm/bridge/nwl-dsi.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -917,11 +917,6 @@ static int nwl_dsi_bridge_attach(struct drm_bridge *bridge,
917917
struct drm_panel *panel;
918918
int ret;
919919

920-
if (flags & DRM_BRIDGE_ATTACH_NO_CONNECTOR) {
921-
DRM_ERROR("Fix bridge driver to make connector optional!");
922-
return -EINVAL;
923-
}
924-
925920
ret = drm_of_find_panel_or_bridge(dsi->dev->of_node, 1, 0, &panel,
926921
&panel_bridge);
927922
if (ret)

0 commit comments

Comments
 (0)