aboutsummaryrefslogtreecommitdiffstats
path: root/lib/mpi/mpi-internal.h
diff options
context:
space:
mode:
authorChanwoo Choi <[email protected]>2017-10-23 01:32:10 +0000
committerMyungJoo Ham <[email protected]>2017-10-26 08:08:40 +0000
commit416b46a2627ae8de1466f90787dede6f9c5a1bfa (patch)
treeafe1701ce9bc7b57af453c924e450fbc84acf23b /lib/mpi/mpi-internal.h
parentPM / devfreq: Change return type of devfreq_set_freq_table() (diff)
downloadkernel-416b46a2627ae8de1466f90787dede6f9c5a1bfa.tar.gz
kernel-416b46a2627ae8de1466f90787dede6f9c5a1bfa.zip
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 <[email protected]> Signed-off-by: MyungJoo Ham <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-internal.h')
0 files changed, 0 insertions, 0 deletions