From 1ac737f21c7155f788b3b9be4f8b4367acbf6470 Mon Sep 17 00:00:00 2001 From: xubilv Date: Sun, 18 Sep 2016 15:46:03 +0800 Subject: [PATCH] video: rockchip: edp: runtime get sync in probe if support uboot display Change-Id: I0373ef165cf7e21410b05159d4ed25c69bf05d5e Signed-off-by: xubilv --- drivers/video/rockchip/transmitter/rk32_dp.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/video/rockchip/transmitter/rk32_dp.c b/drivers/video/rockchip/transmitter/rk32_dp.c index 9a18358c4a76..e4716934f0c9 100755 --- a/drivers/video/rockchip/transmitter/rk32_dp.c +++ b/drivers/video/rockchip/transmitter/rk32_dp.c @@ -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); -- 2.34.1