projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f92148b
)
rk3288 lvds: uboot display logo lvds clk enable at driver probe
author
hjc
<hjc@rock-chips.com>
Mon, 21 Apr 2014 06:09:51 +0000
(14:09 +0800)
committer
hjc
<hjc@rock-chips.com>
Mon, 21 Apr 2014 06:09:51 +0000
(14:09 +0800)
drivers/video/rockchip/transmitter/rk32_lvds.c
patch
|
blob
|
history
diff --git
a/drivers/video/rockchip/transmitter/rk32_lvds.c
b/drivers/video/rockchip/transmitter/rk32_lvds.c
index 2cedaf6f1920696789666686a04ee78ef8723e95..ca14ca58e98882f026ef1e129071744915d06962 100755
(executable)
--- 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");