From: hjc Date: Mon, 21 Apr 2014 06:09:51 +0000 (+0800) Subject: rk3288 lvds: uboot display logo lvds clk enable at driver probe X-Git-Tag: firefly_0821_release~5494 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=db45e23004318f2b409b3d03a0f8719728b34957;p=firefly-linux-kernel-4.4.55.git rk3288 lvds: uboot display logo lvds clk enable at driver probe --- 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");