diff options
author | Jani Nikula <jani.nikula@intel.com> | 2024-01-23 20:37:41 +0100 |
---|---|---|
committer | Jani Nikula <jani.nikula@intel.com> | 2024-02-09 09:16:10 +0100 |
commit | 758abe988cf3d5c53cbcd58bfeb98857741969fe (patch) | |
tree | 86a7d92d68bd89ccc2f11a7bd2bd138a2bfea540 /drivers/gpu/drm/bridge/synopsys | |
parent | drm: bridge: dw_hdmi: switch to ->edid_read callback (diff) | |
download | linux-758abe988cf3d5c53cbcd58bfeb98857741969fe.tar.xz linux-758abe988cf3d5c53cbcd58bfeb98857741969fe.zip |
drm: bridge: dw_hdmi: clear the EDID property and CEC address on failures
If EDID read fails, clear the EDID property and CEC address.
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/a417ae48da6cc0dc8a9e3d929ce0c91f1e4905f1.1706038510.git.jani.nikula@intel.com
Diffstat (limited to 'drivers/gpu/drm/bridge/synopsys')
-rw-r--r-- | drivers/gpu/drm/bridge/synopsys/dw-hdmi.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/drm/bridge/synopsys/dw-hdmi.c b/drivers/gpu/drm/bridge/synopsys/dw-hdmi.c index 4a2e3f9c1dfd..0e59b30d5227 100644 --- a/drivers/gpu/drm/bridge/synopsys/dw-hdmi.c +++ b/drivers/gpu/drm/bridge/synopsys/dw-hdmi.c @@ -2505,8 +2505,6 @@ static int dw_hdmi_connector_get_modes(struct drm_connector *connector) int ret; drm_edid = dw_hdmi_edid_read(hdmi, connector); - if (!drm_edid) - return 0; drm_edid_connector_update(connector, drm_edid); cec_notifier_set_phys_addr(hdmi->cec_notifier, |