From db45e23004318f2b409b3d03a0f8719728b34957 Mon Sep 17 00:00:00 2001 From: hjc Date: Mon, 21 Apr 2014 14:09:51 +0800 Subject: [PATCH] rk3288 lvds: uboot display logo lvds clk enable at driver probe --- drivers/video/rockchip/transmitter/rk32_lvds.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/drivers/video/rockchip/transmitter/rk32_lvds.c b/drivers/video/rockchip/transmitter/rk32_lvds.c index 2cedaf6f1920..ca14ca58e988 100755 --- a/drivers/video/rockchip/transmitter/rk32_lvds.c +++ b/drivers/video/rockchip/transmitter/rk32_lvds.c @@ -283,6 +283,11 @@ static int rk32_lvds_probe(struct platform_device *pdev) dev_err(&pdev->dev, "get clk failed\n"); return PTR_ERR(lvds->pd); } + if (support_uboot_display()) { + clk_prepare_enable(lvds->clk); + clk_prepare_enable(lvds->pd); + } + rk32_lvds = lvds; rk_fb_trsm_ops_register(&trsm_lvds_ops,SCREEN_LVDS); dev_info(&pdev->dev, "rk32 lvds driver probe success\n"); -- 2.34.1