aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers/clk.c
diff options
context:
space:
mode:
authorRafael J. Wysocki <[email protected]>2025-03-28 20:44:50 +0000
committerRafael J. Wysocki <[email protected]>2025-04-09 19:22:10 +0000
commit9a74bfdfd07f99b09fa4aaccacd17248b8629a07 (patch)
treee42be609abdc6e07f8d806f497b1bfd479869bc2 /rust/helpers/clk.c
parentcpufreq: intel_pstate: Rearrange max frequency updates handling code (diff)
downloadkernel-9a74bfdfd07f99b09fa4aaccacd17248b8629a07.tar.gz
kernel-9a74bfdfd07f99b09fa4aaccacd17248b8629a07.zip
cpufreq: Use locking guard and __free() in cpufreq_update_policy()
Instead of using cpufreq_cpu_acquire() and cpufreq_cpu_release() in cpufreq_update_policy(), which is the last user of these functions, make it use __free() for policy reference counting cleanup and the "write" locking guard for policy locking. No intentional functional impact. Signed-off-by: Rafael J. Wysocki <[email protected]> Acked-by: Viresh Kumar <[email protected]> Reviewed-by: Mario Limonciello <[email protected]> Acked-by: Sudeep Holla <[email protected]> Tested-by: Sudeep Holla <[email protected]> Link: https://patch.msgid.link/[email protected]
Diffstat (limited to 'rust/helpers/clk.c')
0 files changed, 0 insertions, 0 deletions