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:07:37 +0000 (18:07 +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 290462d932670a42eb46067e391f3b96c953d6c5..10d03cfc495dc662cd1bda36dc556d43ea31eaeb 100644 (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;