video: rockchip: edp: runtime get sync in probe if support uboot display
authorxubilv <xbl@rock-chips.com>
Sun, 18 Sep 2016 07:46:03 +0000 (15:46 +0800)
committerHuang, Tao <huangtao@rock-chips.com>
Sun, 18 Sep 2016 11:10:09 +0000 (19:10 +0800)
Change-Id: I0373ef165cf7e21410b05159d4ed25c69bf05d5e
Signed-off-by: xubilv <xbl@rock-chips.com>
drivers/video/rockchip/transmitter/rk32_dp.c

index 9a18358c4a7640953ba5ae7d8456c82d0aae38bb..e4716934f0c9058e8b3a81bd3741b3ef63be72a2 100755 (executable)
@@ -1829,6 +1829,8 @@ static int rk32_edp_probe(struct platform_device *pdev)
                rk32_edp_clk_disable(edp);
 
        pm_runtime_enable(&pdev->dev);
+       if (support_uboot_display())
+               pm_runtime_get_sync(&pdev->dev);
 
        rk32_edp = edp;
        rk_fb_trsm_ops_register(&trsm_edp_ops, SCREEN_EDP);