]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
cpufreq/amd-pstate: Catch failures for amd_pstate_epp_update_limit()
authorMario Limonciello <mario.limonciello@amd.com>
Sun, 1 Sep 2024 05:00:35 +0000 (00:00 -0500)
committerMario Limonciello <mario.limonciello@amd.com>
Wed, 4 Sep 2024 20:07:34 +0000 (15:07 -0500)
commitc3e093efbc6cac7bf9dc531dcb751b86daaa65b0
tree77e7444d9310ecbce55d0ea3b1244b228af3020b
parent431c1646e1f86b949fa3685efc50b660a364c2b6
cpufreq/amd-pstate: Catch failures for amd_pstate_epp_update_limit()

amd_pstate_set_epp() calls cppc_set_epp_perf() which can fail for
a variety of reasons but this is ignored.  Change the return flow
to allow failures.

Reviewed-by: Perry Yuan <perry.yuan@amd.com>
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
drivers/cpufreq/amd-pstate.c