Loading drivers/devfreq/governor_memlat.c +6 −2 Original line number Diff line number Diff line Loading @@ -208,9 +208,11 @@ static int gov_start(struct devfreq *df) static int gov_suspend(struct devfreq *df) { struct memlat_node *node = df->data; struct memlat_hwmon *hw = node->hw; unsigned long prev_freq = df->previous_freq; node->mon_started = false; if (!hw->should_ignore_df_monitor) devfreq_monitor_suspend(df); mutex_lock(&df->lock); Loading @@ -225,6 +227,7 @@ static int gov_suspend(struct devfreq *df) static int gov_resume(struct devfreq *df) { struct memlat_node *node = df->data; struct memlat_hwmon *hw = node->hw; mutex_lock(&df->lock); update_devfreq(df); Loading @@ -232,6 +235,7 @@ static int gov_resume(struct devfreq *df) node->resume_freq = 0; if (!hw->should_ignore_df_monitor) devfreq_monitor_resume(df); node->mon_started = true; Loading Loading
drivers/devfreq/governor_memlat.c +6 −2 Original line number Diff line number Diff line Loading @@ -208,9 +208,11 @@ static int gov_start(struct devfreq *df) static int gov_suspend(struct devfreq *df) { struct memlat_node *node = df->data; struct memlat_hwmon *hw = node->hw; unsigned long prev_freq = df->previous_freq; node->mon_started = false; if (!hw->should_ignore_df_monitor) devfreq_monitor_suspend(df); mutex_lock(&df->lock); Loading @@ -225,6 +227,7 @@ static int gov_suspend(struct devfreq *df) static int gov_resume(struct devfreq *df) { struct memlat_node *node = df->data; struct memlat_hwmon *hw = node->hw; mutex_lock(&df->lock); update_devfreq(df); Loading @@ -232,6 +235,7 @@ static int gov_resume(struct devfreq *df) node->resume_freq = 0; if (!hw->should_ignore_df_monitor) devfreq_monitor_resume(df); node->mon_started = true; Loading