Skip to content

Commit 1426655

Browse files
digetxchanwoochoi
authored andcommitted
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 <[email protected]> Tested-by: Peter Geis <[email protected]> Signed-off-by: Dmitry Osipenko <[email protected]> Signed-off-by: Chanwoo Choi <[email protected]>
1 parent 6f2a35d commit 1426655

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

drivers/devfreq/tegra30-devfreq.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -467,6 +467,9 @@ static void tegra_actmon_configure_device(struct tegra_devfreq *tegra,
467467
{
468468
u32 val = 0;
469469

470+
/* reset boosting on governor's restart */
471+
dev->boost_freq = 0;
472+
470473
dev->target_freq = tegra->cur_freq;
471474

472475
dev->avg_count = tegra->cur_freq * ACTMON_SAMPLING_PERIOD;

0 commit comments

Comments
 (0)