aboutsummaryrefslogtreecommitdiffstats
path: root/lib/crypto/mpi/mpi-sub-ui.c
diff options
context:
space:
mode:
authorLifeng Zheng <[email protected]>2025-04-21 03:00:18 +0000
committerChanwoo Choi <[email protected]>2025-07-14 11:04:16 +0000
commit5487f2595bc821348848b0708f42df825d856f9e (patch)
tree7a2b4ea2aad4dae5369cc0cf170678ddf8cb19f5 /lib/crypto/mpi/mpi-sub-ui.c
parentPM / devfreq: governor: Replace sscanf() with kstrtoul() in set_freq_store() (diff)
downloadkernel-5487f2595bc821348848b0708f42df825d856f9e.tar.gz
kernel-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 <[email protected]> Link: https://lore.kernel.org/lkml/[email protected]/ Signed-off-by: Chanwoo Choi <[email protected]>
Diffstat (limited to 'lib/crypto/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions