mirror of
https://github.com/torvalds/linux.git
synced 2024-12-05 18:41:23 +00:00
drm/bridge: ps8640: Let panel to set the connector type
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
This commit is contained in:
parent
d53139b37f
commit
4606ed7ede
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user