aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorLifeng Zheng <zhenglifeng1@huawei.com>2025-04-21 11:00:18 +0800
committerChanwoo Choi <cw00.choi@samsung.com>2025-07-14 20:04:16 +0900
commit5487f2595bc821348848b0708f42df825d856f9e (patch)
tree7a2b4ea2aad4dae5369cc0cf170678ddf8cb19f5 /tools/perf/scripts/python
parentPM / devfreq: governor: Replace sscanf() with kstrtoul() in set_freq_store() (diff)
downloadwireguard-linux-5487f2595bc821348848b0708f42df825d856f9e.tar.xz
wireguard-linux-5487f2595bc821348848b0708f42df825d856f9e.zip
PM / devfreq: Limit max_freq with scaling_min_freq
Limit max_freq in devfreq_get_freq_range() with scaling_min_freq to avoid showing an unreachable freq when reading it. Use macro clamp to simplify code. Signed-off-by: Lifeng Zheng <zhenglifeng1@huawei.com> Link: https://lore.kernel.org/lkml/20250421030020.3108405-3-zhenglifeng1@huawei.com/ Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions