video: rockchip: edp: Solve the bug of asymmetric pd enable and disable
authorxubilv <xbl@rock-chips.com>
Tue, 10 Jan 2017 07:01:49 +0000 (15:01 +0800)
committerHuang, Tao <huangtao@rock-chips.com>
Wed, 11 Jan 2017 12:26:18 +0000 (20:26 +0800)
Change-Id: I626210fc3e63c076e402563393a388cbd25fdd74
Signed-off-by: xubilv <xbl@rock-chips.com>
drivers/video/rockchip/transmitter/rk32_dp.c

index 6d386bc0e383633b75329d86e3f2eec6bf5b8288..f73e6191747d40650448b3cc6051f5b407172432 100755 (executable)
@@ -1848,8 +1848,10 @@ static int rk32_edp_probe(struct platform_device *pdev)
                rk32_edp_clk_disable(edp);
 
        pm_runtime_enable(&pdev->dev);
-       if (support_uboot_display())
+       if (support_uboot_display()) {
+               edp->edp_en = true;
                pm_runtime_get_sync(&pdev->dev);
+       }
 
        rk32_edp = edp;
        rk_fb_trsm_ops_register(&trsm_edp_ops, SCREEN_EDP);