diff options
author | Jani Nikula <jani.nikula@intel.com> | 2023-09-14 16:14:49 +0300 |
---|---|---|
committer | Jani Nikula <jani.nikula@intel.com> | 2023-09-28 12:26:45 +0300 |
commit | ab2dbf894a0f931aa4aba52f736ce460028c187f (patch) | |
tree | 7d50dc8fa592b200c4f4108fe32ffa43e8cf4272 | |
parent | fc5fb9e7f81e4ae73958d05adb4fe7cde24c88a2 (diff) |
drm/bridge: use drm_bridge_get_edid() instead of using ->get_edid directly
Make drm_bridge_get_edid() the one place to call the hook.
Cc: Andrzej Hajda <andrzej.hajda@intel.com>
Cc: Neil Armstrong <neil.armstrong@linaro.org>
Cc: Robert Foss <rfoss@kernel.org>
Cc: Laurent Pinchart <Laurent.pinchart@ideasonboard.com>
Cc: Jonas Karlman <jonas@kwiboo.se>
Cc: Jernej Skrabec <jernej.skrabec@gmail.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230914131450.2473061-1-jani.nikula@intel.com
-rw-r--r-- | drivers/gpu/drm/drm_bridge_connector.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/drm_bridge_connector.c b/drivers/gpu/drm/drm_bridge_connector.c index 1da93d5a1f61..31baf1f5ff81 100644 --- a/drivers/gpu/drm/drm_bridge_connector.c +++ b/drivers/gpu/drm/drm_bridge_connector.c @@ -238,7 +238,7 @@ static int drm_bridge_connector_get_modes_edid(struct drm_connector *connector, if (status != connector_status_connected) goto no_edid; - edid = bridge->funcs->get_edid(bridge, connector); + edid = drm_bridge_get_edid(bridge, connector); if (!drm_edid_is_valid(edid)) { kfree(edid); goto no_edid; |