From 7000001c89caf88c90c04e10e05e4f852922de01 Mon Sep 17 00:00:00 2001 From: Joshua Riek Date: Mon, 1 Apr 2024 15:55:09 -0400 Subject: [PATCH] Revert "Fix CEC on rk356X on tv restart (#149)" This reverts commit e6ea6b4dad4a8f259251810686c1487d3e7f3692. --- drivers/gpu/drm/bridge/synopsys/dw-hdmi.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/drivers/gpu/drm/bridge/synopsys/dw-hdmi.c b/drivers/gpu/drm/bridge/synopsys/dw-hdmi.c index 1d30dc39115b9..19b40e98ad7a6 100644 --- a/drivers/gpu/drm/bridge/synopsys/dw-hdmi.c +++ b/drivers/gpu/drm/bridge/synopsys/dw-hdmi.c @@ -362,15 +362,6 @@ static void handle_plugged_change(struct dw_hdmi *hdmi, bool plugged) { if (hdmi->plugged_cb && hdmi->codec_dev) hdmi->plugged_cb(hdmi->codec_dev, plugged); - if (plugged && hdmi->ddc) { - struct edid *edid = drm_get_edid(&hdmi->connector, hdmi->ddc); - if (edid) { - if (hdmi->cec_notifier) - cec_notifier_set_phys_addr_from_edid( - hdmi->cec_notifier, edid); - kfree(edid); - } - } } int dw_hdmi_set_plugged_cb(struct dw_hdmi *hdmi, hdmi_codec_plugged_cb fn,