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:
bbae086
)
rk: dvfs: fix wrong mutex_unlock on dvfs_get_vd_regulator_volt_list
author
黄涛
<huangtao@rock-chips.com>
Fri, 1 Mar 2013 02:21:49 +0000
(10:21 +0800)
committer
黄涛
<huangtao@rock-chips.com>
Fri, 1 Mar 2013 02:23:08 +0000
(10:23 +0800)
arch/arm/plat-rk/dvfs.c
patch
|
blob
|
history
diff --git
a/arch/arm/plat-rk/dvfs.c
b/arch/arm/plat-rk/dvfs.c
index 1b991997c1510b13f7947cc2455230ee5dbc0d36..4f82c153d4c39d1a855a3e3a7ff1443c0ea054c4 100755
(executable)
--- a/
arch/arm/plat-rk/dvfs.c
+++ b/
arch/arm/plat-rk/dvfs.c
@@
-106,7
+106,7
@@
static void dvfs_get_vd_regulator_volt_list(struct vd_node *vd)
if(selector>VD_VOL_LIST_CNT)
\r
selector=VD_VOL_LIST_CNT;
\r
\r
- mutex_
un
lock(&mutex);
\r
+ mutex_lock(&mutex);
\r
for (i = 0; i<selector; i++) {
\r
sel_volt=dvfs_regulator_list_voltage(vd->regulator,i);
\r
if(sel_volt<=0)
\r