From: xubilv Date: Sun, 18 Sep 2016 07:46:03 +0000 (+0800) Subject: video: rockchip: edp: runtime get sync in probe if support uboot display X-Git-Tag: firefly_0821_release~1528 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=1ac737f21c7155f788b3b9be4f8b4367acbf6470;p=firefly-linux-kernel-4.4.55.git video: rockchip: edp: runtime get sync in probe if support uboot display Change-Id: I0373ef165cf7e21410b05159d4ed25c69bf05d5e Signed-off-by: xubilv --- 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);