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:
Zheng Yang
2015-04-09 18:01:51 +08:00
parent 474610f48c
commit 2258ac9cca

View File

@@ -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;