diff options
author | Matthias Kaehlcke <[email protected]> | 2020-03-18 11:45:46 +0000 |
---|---|---|
committer | Daniel Lezcano <[email protected]> | 2020-04-14 11:41:12 +0200 |
commit | 04fa9c804b0ed50a3c6bae1d4b60a2494c81a23f (patch) | |
tree | 331385d600293a12c5a75c5252570ec5f108efab /drivers/usb/cdns3/cdns3-imx.c | |
parent | 44fc73223eebaf4a0c970072819d34ff1d92ce7b (diff) |
thermal: devfreq_cooling: Use PM QoS to set frequency limits
Now that devfreq supports limiting the frequency range of a device
through PM QoS make use of it instead of disabling OPPs that should
not be used.
The switch from disabling OPPs to PM QoS introduces a subtle behavioral
change in case of conflicting requests (min > max): PM QoS gives
precedence to the MIN_FREQUENCY request, while higher OPPs disabled
with dev_pm_opp_disable() would override MIN_FREQUENCY.
Signed-off-by: Matthias Kaehlcke <[email protected]>
Reviewed-by: Lukasz Luba <[email protected]>
Reviewed-by: Chanwoo Choi <[email protected]>
Signed-off-by: Daniel Lezcano <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/usb/cdns3/cdns3-imx.c')
0 files changed, 0 insertions, 0 deletions