summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorChanwoo Choi <cw00.choi@samsung.com>2017-10-23 10:32:08 +0900
committerMyungJoo Ham <myungjoo.ham@samsung.com>2017-10-26 17:08:40 +0900
commitf1d981eaecf8ace68ec1d15bf05f28a4887ea6fb (patch)
tree0304a9e1ca1740a05b0bc36a06de56105a6950fb /fs
parent1051e2c304b5cf17d4117505985f8128c5c64fd9 (diff)
downloadop-kernel-dev-f1d981eaecf8ace68ec1d15bf05f28a4887ea6fb.zip
op-kernel-dev-f1d981eaecf8ace68ec1d15bf05f28a4887ea6fb.tar.gz
PM / devfreq: Use the available min/max frequency
The commit a76caf55e5b35 ("thermal: Add devfreq cooling") is able to disable OPP as a cooling device. In result, both update_devfreq() and {min|max}_freq_show() have to consider the 'opp->available' status of each OPP. So, this patch adds the 'scaling_{min|max}_freq' to struct devfreq in order to indicate the available mininum and maximum frequency by adjusting OPP interface such as dev_pm_opp_{disable|enable}(). The 'scaling_{min|max}_freq' are used for on both update_devfreq() and {min|max}_freq_show(). Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com> Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud