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:
3aacbd5
)
PM / devfreq: rockchip_dmc: set polling_ms to 50
author
Finley Xiao
<finley.xiao@rock-chips.com>
Tue, 2 May 2017 12:13:18 +0000
(20:13 +0800)
committer
Huang, Tao
<huangtao@rock-chips.com>
Thu, 4 May 2017 04:03:17 +0000
(12:03 +0800)
In order to scaling frequency more timely, reduce the polling_ms.
Change-Id: Icbee5552396fa0552fb514d92ea77687228c3e28
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
drivers/devfreq/rockchip_dmc.c
patch
|
blob
|
history
diff --git
a/drivers/devfreq/rockchip_dmc.c
b/drivers/devfreq/rockchip_dmc.c
index 938be121e11e06b35c4efb24b6c90645ed7e1da6..dce8b4d945c1d0491909792de42018f5b08f34c2 100644
(file)
--- a/
drivers/devfreq/rockchip_dmc.c
+++ b/
drivers/devfreq/rockchip_dmc.c
@@
-220,7
+220,7
@@
static int rockchip_dmcfreq_get_cur_freq(struct device *dev,
}
static struct devfreq_dev_profile rockchip_devfreq_dmc_profile = {
- .polling_ms =
20
0,
+ .polling_ms =
5
0,
.target = rockchip_dmcfreq_target,
.get_dev_status = rockchip_dmcfreq_get_dev_status,
.get_cur_freq = rockchip_dmcfreq_get_cur_freq,