HDMI: call function hdmi->ops->disable() if it is disabled.
authorZheng Yang <zhengyang@rock-chips.com>
Thu, 9 Apr 2015 10:01:51 +0000 (18:01 +0800)
committerZheng Yang <zhengyang@rock-chips.com>
Thu, 9 Apr 2015 10:01:51 +0000 (18:01 +0800)
      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>
drivers/video/rockchip/hdmi/rockchip-hdmi-core.c

index 4fecefed0c655746d07bbc5ce6596933b26a6b05..ee514c3e6d9b7c13e21bc13d4d05b0371fc7beb7 100644 (file)
@@ -307,10 +307,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;