diff options
author | Chanwoo Choi <cw00.choi@samsung.com> | 2017-10-23 10:32:10 +0900 |
---|---|---|
committer | MyungJoo Ham <myungjoo.ham@samsung.com> | 2017-10-26 17:08:40 +0900 |
commit | 416b46a2627ae8de1466f90787dede6f9c5a1bfa (patch) | |
tree | afe1701ce9bc7b57af453c924e450fbc84acf23b /drivers/ras | |
parent | ea572f816032bef9ff2641a439a45651a20eab73 (diff) | |
download | linux-416b46a2627ae8de1466f90787dede6f9c5a1bfa.tar.bz2 |
PM / devfreq: Show the all available frequencies
The commit a76caf55e5b35 ("thermal: Add devfreq cooling") allows
the devfreq device to use the cooling device. When the cooling down
are required, the devfreq_cooling.c disables the OPP entry with
the dev_pm_opp_disable(). In result, 'available_frequencies'[1]
sysfs node never came to show the all available frequencies.
[1] /sys/class/devfreq/.../available_frequencies
So, this patch uses the 'freq_table' in the 'struct devfreq_dev_profile'
in order to show the all available frequencies.
- If 'freq_table' is NULL, devfreq core initializes them by using OPP values.
- If 'freq_table' is initialized, devfreq core just uses the 'freq_table'.
And this patch adds some comment about the sort way of 'freq_table'.
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
Diffstat (limited to 'drivers/ras')
0 files changed, 0 insertions, 0 deletions