diff options
| author | Lifeng Zheng <[email protected]> | 2025-07-09 10:41:42 +0000 |
|---|---|---|
| committer | Rafael J. Wysocki <[email protected]> | 2025-07-14 17:38:10 +0000 |
| commit | 2a6c727387062a2ea79eb6cf5004820cb1b0afe2 (patch) | |
| tree | 983385e5b3b11fb02e2160722718698cf9960a8e /rust/helpers/helpers.c | |
| parent | cpufreq: Remove duplicate check in __cpufreq_offline() (diff) | |
| download | kernel-2a6c727387062a2ea79eb6cf5004820cb1b0afe2.tar.gz kernel-2a6c727387062a2ea79eb6cf5004820cb1b0afe2.zip | |
cpufreq: Initialize cpufreq-based frequency-invariance later
The cpufreq-based invariance is enabled in cpufreq_register_driver(),
but never disabled after registration fails. Move the invariance
initialization to where all other initializations have been successfully
done to solve this problem.
Fixes: 874f63531064 ("cpufreq: report whether cpufreq supports Frequency Invariance (FI)")
Signed-off-by: Lifeng Zheng <[email protected]>
Link: https://patch.msgid.link/[email protected]
[ rjw: New subject ]
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions
