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:
da94d78
)
rk30xx: dvfs enable clk do not set voltage
author
chenxing
<chenxing@rock-chips.com>
Mon, 7 Jan 2013 11:35:53 +0000
(19:35 +0800)
committer
chenxing
<chenxing@rock-chips.com>
Mon, 7 Jan 2013 11:35:53 +0000
(19:35 +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 1439e9e3504f204352f06a8d60a24bc5d25408c4..b9066b23e3a09114a2930c677de82d26a5df6f4a 100644
(file)
--- a/
arch/arm/mach-rk30/dvfs.c
+++ b/
arch/arm/mach-rk30/dvfs.c
@@
-404,6
+404,7
@@
int clk_enable_dvfs(struct clk *clk)
}
\r
#endif
\r
dvfs_vd_get_newvolt_byclk(dvfs_clk);
\r
+#if 0
\r
if(dvfs_clk->vd->cur_volt < dvfs_clk->set_volt) {
\r
int ret;
\r
mutex_lock(&rk_dvfs_mutex);
\r
@@
-418,6
+419,7
@@
int clk_enable_dvfs(struct clk *clk)
dvfs_clk->vd->volt_set_flag = DVFS_SET_VOLT_SUCCESS;
\r
mutex_unlock(&rk_dvfs_mutex);
\r
}
\r
+#endif
\r
dvfs_clk->enable_dvfs++;
\r
} else {
\r
DVFS_ERR("dvfs already enable clk enable = %d!\n", dvfs_clk->enable_dvfs);
\r