According to the documentation: Bridges that set this flag shall
implement the &drm_bridge_funcs->get_modes callback.

But the lt9611 driver does not implement the get_modes callback,
so remove this flag.

Signed-off-by: Andy Yan <[email protected]>
---

 drivers/gpu/drm/bridge/lontium-lt9611.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/drivers/gpu/drm/bridge/lontium-lt9611.c 
b/drivers/gpu/drm/bridge/lontium-lt9611.c
index 0628d8e737ab..d916784af1ea 100644
--- a/drivers/gpu/drm/bridge/lontium-lt9611.c
+++ b/drivers/gpu/drm/bridge/lontium-lt9611.c
@@ -1149,9 +1149,8 @@ static int lt9611_probe(struct i2c_client *client)
 
        lt9611->bridge.of_node = client->dev.of_node;
        lt9611->bridge.ops = DRM_BRIDGE_OP_DETECT | DRM_BRIDGE_OP_EDID |
-                            DRM_BRIDGE_OP_HPD | DRM_BRIDGE_OP_MODES |
-                            DRM_BRIDGE_OP_HDMI | DRM_BRIDGE_OP_HDMI_AUDIO |
-                            DRM_BRIDGE_OP_HDMI_SPD_INFOFRAME;
+                            DRM_BRIDGE_OP_HPD | DRM_BRIDGE_OP_HDMI |
+                            DRM_BRIDGE_OP_HDMI_AUDIO | 
DRM_BRIDGE_OP_HDMI_SPD_INFOFRAME;
        lt9611->bridge.type = DRM_MODE_CONNECTOR_HDMIA;
        lt9611->bridge.vendor = "Lontium";
        lt9611->bridge.product = "LT9611";
-- 
2.43.0

base-commit: 310326bb7df4bba094a3fc60364c641c547fd923
branch: drm-misc-next

Reply via email to