diff options
author | Shyam Sundar S K <Shyam-sundar.S-k@amd.com> | 2024-02-16 12:11:11 +0530 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2024-02-19 13:30:01 +0100 |
commit | 3da01394c0f727baaee728de290eb1ecaad099fb (patch) | |
tree | 03ac07b40260a2f8c190b100b2ce9eb25062c51e /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
parent | f0ddb8a9021305e4e4e4179a2e47ecea6170d55d (diff) |
platform/x86/amd/pmf: Remove smart_pc_status enum
Improve code readability by removing smart_pc_status enum, as the same
can be done with a simple true/false check; Update the code checks
accordingly.
Also add a missing return on amd_pmf_init_smart_pc() success,
to skip trying to setup the auto / slider modes which should
not be used in this case.
Signed-off-by: Shyam Sundar S K <Shyam-sundar.S-k@amd.com>
Reviewed-by: Mario Limonciello <mario.limonciello@amd.com>
Link: https://lore.kernel.org/r/20240216064112.962582-1-Shyam-sundar.S-k@amd.com
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions