diff options
author | Xuewen Yan <[email protected]> | 2022-08-25 19:40:17 +0800 |
---|---|---|
committer | Rafael J. Wysocki <[email protected]> | 2022-09-03 20:07:36 +0200 |
commit | cff895277c8558221ba180aefe26799dcb4eec86 (patch) | |
tree | 1f78c2ca05bc80e4c9d163563f43845c9c007da5 /scripts/gdb/linux/modules.py | |
parent | 1ea252ef299bbce16cc40d52d0635346fdc4b7ea (diff) |
thermal: cpufreq_cooling: Check the policy first in cpufreq_cooling_register()
Since the policy needs to be accessed first when obtaining cpu devices,
first check whether the policy is legal before this.
Fixes: 5130802ddbb1 ("thermal: cpu_cooling: Switch to QoS requests for freq limits")
Signed-off-by: Xuewen Yan <[email protected]>
Acked-by: Viresh Kumar <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions