mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-05 18:41:58 +09:00
drm/bridge: synopsys: dw-hdmi-qp: Clear edid property when hdmi plug out
If edid property is not cleared when hdmi plug out, edid value maybe keep previous sink's when the hdmi is connected to another sink. Change-Id: I8d06de17040573de4ef4706183bd7b46c4002ae4 Signed-off-by: Algea Cao <algea.cao@rock-chips.com>
This commit is contained in:
@@ -2650,6 +2650,8 @@ out:
|
||||
extcon_set_state_sync(hdmi->extcon, EXTCON_DISP_HDMI, true);
|
||||
handle_plugged_change(hdmi, true);
|
||||
} else {
|
||||
if (!hdmi->next_bridge)
|
||||
drm_connector_update_edid_property(&hdmi->connector, NULL);
|
||||
extcon_set_state_sync(hdmi->extcon, EXTCON_DISP_HDMI, false);
|
||||
handle_plugged_change(hdmi, false);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user