[PATCH v4 05/12] PM / devfreq: Add support for policy notifiers

2018-06-20 Thread Matthias Kaehlcke
Policy notifiers are called before a frequency change and may narrow the min/max frequency range in devfreq_policy, which is used to adjust the target frequency if it is beyond this range. Also add a few helpers: - devfreq_verify_within_[dev_]limits() - should be used by the notifiers for

[PATCH v4 05/12] PM / devfreq: Add support for policy notifiers

2018-06-20 Thread Matthias Kaehlcke
Policy notifiers are called before a frequency change and may narrow the min/max frequency range in devfreq_policy, which is used to adjust the target frequency if it is beyond this range. Also add a few helpers: - devfreq_verify_within_[dev_]limits() - should be used by the notifiers for