Loading drivers/devfreq/governor_bw_hwmon.c +8 −0 Original line number Diff line number Diff line Loading @@ -832,6 +832,11 @@ static int devfreq_bw_hwmon_ev_handler(struct devfreq *df, */ node = df->data; hw = node->hw; mutex_lock(&node->mon_lock); node->mon_started = false; mutex_unlock(&node->mon_lock); hw->suspend_hwmon(hw); devfreq_interval_update(df, &sample_ms); ret = hw->resume_hwmon(hw); Loading @@ -840,6 +845,9 @@ static int devfreq_bw_hwmon_ev_handler(struct devfreq *df, "Unable to resume HW monitor (%d)\n", ret); goto out; } mutex_lock(&node->mon_lock); node->mon_started = true; mutex_unlock(&node->mon_lock); break; case DEVFREQ_GOV_SUSPEND: Loading Loading
drivers/devfreq/governor_bw_hwmon.c +8 −0 Original line number Diff line number Diff line Loading @@ -832,6 +832,11 @@ static int devfreq_bw_hwmon_ev_handler(struct devfreq *df, */ node = df->data; hw = node->hw; mutex_lock(&node->mon_lock); node->mon_started = false; mutex_unlock(&node->mon_lock); hw->suspend_hwmon(hw); devfreq_interval_update(df, &sample_ms); ret = hw->resume_hwmon(hw); Loading @@ -840,6 +845,9 @@ static int devfreq_bw_hwmon_ev_handler(struct devfreq *df, "Unable to resume HW monitor (%d)\n", ret); goto out; } mutex_lock(&node->mon_lock); node->mon_started = true; mutex_unlock(&node->mon_lock); break; case DEVFREQ_GOV_SUSPEND: Loading