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:
c204213
)
rk30: record arm voltage value before dvfs start
author
chenxing
<chenxing@rock-chips.com>
Wed, 27 Jun 2012 08:23:31 +0000
(16:23 +0800)
committer
chenxing
<chenxing@rock-chips.com>
Wed, 27 Jun 2012 08:23:31 +0000
(16:23 +0800)
arch/arm/mach-rk30/dvfs.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-rk30/dvfs.c
b/arch/arm/mach-rk30/dvfs.c
index 180966847590e338153d8c467d5f11d550731a8a..c4dc325eddc4eea97df9ff746b45acb631818ff6 100644
(file)
--- a/
arch/arm/mach-rk30/dvfs.c
+++ b/
arch/arm/mach-rk30/dvfs.c
@@
-337,6
+337,7
@@
int clk_enable_dvfs(struct clk *clk)
if (!IS_ERR(regulator)) {
\r
// DVFS_DBG("dvfs_regulator_get(%s)\n",dvfs_clk->vd->regulator_name);
\r
dvfs_clk->vd->regulator = regulator;
\r
+ dvfs_clk->vd->cur_volt = dvfs_regulator_get_voltage(dvfs_clk->vd->regulator);
\r
} else {
\r
dvfs_clk->vd->regulator = NULL;
\r
dvfs_clk->enable_dvfs = 0;
\r