rk3288 lvds: uboot display logo lvds clk enable at driver probe
authorhjc <hjc@rock-chips.com>
Mon, 21 Apr 2014 06:09:51 +0000 (14:09 +0800)
committerhjc <hjc@rock-chips.com>
Mon, 21 Apr 2014 06:09:51 +0000 (14:09 +0800)
drivers/video/rockchip/transmitter/rk32_lvds.c

index 2cedaf6f1920696789666686a04ee78ef8723e95..ca14ca58e98882f026ef1e129071744915d06962 100755 (executable)
@@ -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");