mfd:rk616 hdmi:fix hdmi err when resume
authoryzq <yzq@rock-chips.com>
Thu, 2 May 2013 06:31:42 +0000 (14:31 +0800)
committeryzq <yzq@rock-chips.com>
Thu, 2 May 2013 06:31:42 +0000 (14:31 +0800)
drivers/video/rockchip/hdmi/chips/rk616/rk616_hdmi.c

index 6b02b2b99286fa4db0c860e9be386a094c7c9c3d..862de01df76a7e853f8179c89f22b1997153bacc 100755 (executable)
@@ -144,9 +144,10 @@ static void hdmi_early_resume(struct early_suspend *h)
        mutex_lock(&hdmi->enable_mutex);
 
        hdmi->suspend = 0;
-//     rk616_hdmi_initial();
+       rk616_hdmi_initial();
        if(hdmi->enable) {
                enable_irq(hdmi->irq);
+               queue_delayed_work(hdmi->workqueue, &hdmi->delay_work, 0);
        }
        mutex_unlock(&hdmi->enable_mutex);
        return;