video: rockchip: edp: Solve the bug of asymmetric pd enable and disable

Change-Id: I626210fc3e63c076e402563393a388cbd25fdd74
Signed-off-by: xubilv <xbl@rock-chips.com>
This commit is contained in:
xubilv
2017-01-10 15:01:49 +08:00
committed by Huang, Tao
parent 6c3361486c
commit 855e4ba023

View File

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