diff options
author | Leonard Crestez <[email protected]> | 2019-10-31 23:34:26 +0200 |
---|---|---|
committer | Chanwoo Choi <[email protected]> | 2019-12-09 12:19:16 +0900 |
commit | 46cecc0bf095bbffdf58618a1b4a5f9c9f073bf8 (patch) | |
tree | 638984de95cb91ef52aa033711a8451b8ef2e64b /lib/netdev-notifier-error-inject.c | |
parent | e7cc792d00049c874010b398a27c3cc7bc8fef34 (diff) |
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 <[email protected]>
Reviewed-by: Matthias Kaehlcke <[email protected]>
Reviewed-by: Chanwoo Choi <[email protected]>
Signed-off-by: Chanwoo Choi <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions