]> www.infradead.org Git - users/jedix/linux-maple.git/commit
cpufreq/amd-pstate: Change amd_pstate_update_perf() to return an int
authorMario Limonciello <mario.limonciello@amd.com>
Mon, 9 Dec 2024 18:52:42 +0000 (12:52 -0600)
committerMario Limonciello <mario.limonciello@amd.com>
Wed, 11 Dec 2024 16:44:53 +0000 (10:44 -0600)
commit942718f2a236cb3b27d2dbb5942538681b6e0e88
tree7a5b08d66606dd5d4e425c32b04f27c1a7f02492
parent68cb0e77b6439fea64c6907c563b7bd27f2ee57f
cpufreq/amd-pstate: Change amd_pstate_update_perf() to return an int

As msr_update_perf() calls an MSR it's possible that it fails. Pass
this return code up to the caller.

Reviewed-by: Gautham R. Shenoy <gautham.shenoy@amd.com>
Link: https://lore.kernel.org/r/20241209185248.16301-10-mario.limonciello@amd.com
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
drivers/cpufreq/amd-pstate.c