mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-11 21:14:07 +08:00
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: Chanwoo Choi <cw00.choi@samsung.com> Tested-by: Peter Geis <pgwipeout@gmail.com> Signed-off-by: Dmitry Osipenko <digetx@gmail.com> Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
This commit is contained in:
parent
6f2a35d65b
commit
1426655827
@ -467,6 +467,9 @@ static void tegra_actmon_configure_device(struct tegra_devfreq *tegra,
|
||||
{
|
||||
u32 val = 0;
|
||||
|
||||
/* reset boosting on governor's restart */
|
||||
dev->boost_freq = 0;
|
||||
|
||||
dev->target_freq = tegra->cur_freq;
|
||||
|
||||
dev->avg_count = tegra->cur_freq * ACTMON_SAMPLING_PERIOD;
|
||||
|
Loading…
Reference in New Issue
Block a user