提交 14266558 编写于 作者: D Dmitry Osipenko 提交者: Chanwoo Choi

PM / devfreq: tegra30: Reset boosting on startup

Governor could be stopped while boosting is active. We have assumption
that everything is reset on governor's restart, including the boosting
value, which was missed.
Reviewed-by: NChanwoo Choi <cw00.choi@samsung.com>
Tested-by: NPeter Geis <pgwipeout@gmail.com>
Signed-off-by: NDmitry Osipenko <digetx@gmail.com>
Signed-off-by: NChanwoo Choi <cw00.choi@samsung.com>
上级 6f2a35d6
...@@ -467,6 +467,9 @@ static void tegra_actmon_configure_device(struct tegra_devfreq *tegra, ...@@ -467,6 +467,9 @@ static void tegra_actmon_configure_device(struct tegra_devfreq *tegra,
{ {
u32 val = 0; u32 val = 0;
/* reset boosting on governor's restart */
dev->boost_freq = 0;
dev->target_freq = tegra->cur_freq; dev->target_freq = tegra->cur_freq;
dev->avg_count = tegra->cur_freq * ACTMON_SAMPLING_PERIOD; dev->avg_count = tegra->cur_freq * ACTMON_SAMPLING_PERIOD;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册