diff options
author | Mario Limonciello <[email protected]> | 2023-08-23 13:54:21 -0500 |
---|---|---|
committer | Hans de Goede <[email protected]> | 2023-08-26 12:25:56 +0200 |
commit | 4dbd6e61adc7e52dd1c9165f0ccaa90806611e40 (patch) | |
tree | adc222592f6c0581fb8b2155c1e04490bca73bee /tools/perf/util/trace-event-scripting.c | |
parent | 39ab0bafb8d0a7fd5c218720f4c78dda4561f5fb (diff) |
platform/x86/amd/pmf: Fix a missing cleanup path
On systems that support slider notifications but don't otherwise support
granular slider the SPS cleanup path doesn't run.
This means that loading/unloading/loading leads to failures because
the sysfs files don't get setup properly when reloaded.
Add the missing cleanup path.
Fixes: 33c9ab5b493a ("platform/x86/amd/pmf: Notify OS power slider update")
Signed-off-by: Mario Limonciello <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Hans de Goede <[email protected]>
Signed-off-by: Hans de Goede <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions