mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-10 12:57:06 +09:00
HDMI: call function hdmi->ops->disable() if it is disabled.
For system can not be wakeup under following case:
step1. Disable HDMI.
step2. set system to deep sleep mode.
step3. remove HDMI connection.
step4. wake up system.
Signed-off-by: Zheng Yang <zhengyang@rock-chips.com>
This commit is contained in:
@@ -301,10 +301,8 @@ static void hdmi_work_queue(struct work_struct *work)
|
||||
case HDMI_DISABLE_CTL:
|
||||
if (hdmi->enable) {
|
||||
if (!hdmi->sleep) {
|
||||
/*
|
||||
if (hdmi->ops->disable)
|
||||
hdmi->ops->disable(hdmi);
|
||||
*/
|
||||
hdmi_wq_remove(hdmi);
|
||||
}
|
||||
hdmi->enable = 0;
|
||||
|
||||
Reference in New Issue
Block a user