]> git.baikalelectronics.ru Git - kernel.git/commitdiff
drm/bridge: ps8640: Let panel to set the connector type
authorEnric Balletbo i Serra <enric.balletbo@collabora.com>
Thu, 16 Apr 2020 16:44:04 +0000 (18:44 +0200)
committerSam Ravnborg <sam@ravnborg.org>
Sat, 25 Apr 2020 14:43:11 +0000 (16:43 +0200)
The panel connector type should be set by the panel not the bridge, so
remove the connector_type assignment.

Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20200416164404.2418426-2-enric.balletbo@collabora.com
drivers/gpu/drm/bridge/parade-ps8640.c

index d3a53442d449a4a53ddc0f588bc57bd53c2146b8..4b099196afeba12815bf41cc00372cbd4e8fd297 100644 (file)
@@ -268,8 +268,6 @@ static int ps8640_probe(struct i2c_client *client)
        if (!panel)
                return -ENODEV;
 
-       panel->connector_type = DRM_MODE_CONNECTOR_eDP;
-
        ps_bridge->panel_bridge = devm_drm_panel_bridge_add(dev, panel);
        if (IS_ERR(ps_bridge->panel_bridge))
                return PTR_ERR(ps_bridge->panel_bridge);