mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 12:17:12 +09:00
drm/rockchip/rk618: hdmi: support hotplug detect in clone mode
Change-Id: Icabc6d3f7b81efca99debf97445219999dabd556 Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com>
This commit is contained in:
@@ -944,11 +944,9 @@ rk618_hdmi_connector_detect(struct drm_connector *connector, bool force)
|
||||
else
|
||||
switch_set_state(&hdmi->switchdev, 0);
|
||||
#endif
|
||||
if (hdmi->bridge)
|
||||
return connector_status_connected;
|
||||
|
||||
return (hdmi_readb(hdmi, HDMI_STATUS) & m_HOTPLUG) ?
|
||||
connector_status_connected : connector_status_disconnected;
|
||||
return status ? connector_status_connected :
|
||||
connector_status_disconnected;
|
||||
}
|
||||
|
||||
static int rk618_hdmi_connector_get_modes(struct drm_connector *connector)
|
||||
|
||||
Reference in New Issue
Block a user