summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorLeonard Crestez <leonard.crestez@nxp.com>2019-11-01 00:34:26 +0300
committerChanwoo Choi <cw00.choi@samsung.com>2019-12-09 06:19:16 +0300
commit46cecc0bf095bbffdf58618a1b4a5f9c9f073bf8 (patch)
tree638984de95cb91ef52aa033711a8451b8ef2e64b /fs
parente7cc792d00049c874010b398a27c3cc7bc8fef34 (diff)
downloadlinux-46cecc0bf095bbffdf58618a1b4a5f9c9f073bf8.tar.xz
PM / devfreq: Introduce get_freq_range helper
Moving handling of min/max freq to a single function and call it from update_devfreq and for printing min/max freq values in sysfs. This changes the behavior of out-of-range min_freq/max_freq: clamping is now done at evaluation time. This means that if an out-of-range constraint is imposed by sysfs and it later becomes valid then it will be enforced. Signed-off-by: Leonard Crestez <leonard.crestez@nxp.com> Reviewed-by: Matthias Kaehlcke <mka@chromium.org> Reviewed-by: Chanwoo Choi <cw00.choi@samsung.com> Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions