mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 11:26:02 +09:00
rk hdmi: fix hdmi win state err when suspend
This commit is contained in:
@@ -119,10 +119,11 @@ static int hdmi_process_command(struct hdmi *hdmi)
|
||||
mutex_lock(&hdmi->enable_mutex);
|
||||
if(!hdmi->enable || hdmi->suspend)
|
||||
{
|
||||
if(hdmi->hotplug == HDMI_HPD_ACTIVED)
|
||||
if(hdmi->hotplug != HDMI_HPD_REMOVED) {
|
||||
hdmi->hotplug = HDMI_HPD_REMOVED;
|
||||
hdmi_sys_remove(hdmi);
|
||||
}
|
||||
hdmi->state = HDMI_SLEEP;
|
||||
hdmi->hotplug = HDMI_HPD_REMOVED;
|
||||
hdmi->remove(hdmi);
|
||||
state = HDMI_SLEEP;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user