diff options
| author | Pengpeng Hou <pengpeng@iscas.ac.cn> | 2026-06-15 14:52:41 +0800 |
|---|---|---|
| committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2026-07-22 15:32:39 +0200 |
| commit | 28f34d7dafa6dfa657efd6760b7c78e98c9b2f6a (patch) | |
| tree | 5ed8048b7a3cc7ffd3039ad2b60eeab9e188afaf /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | 1e768cc92bc7394b65898261b1b2e369732e0723 (diff) | |
thermal: intel: int340x: clean up RFIM groups on DVFS failure
proc_thermal_rfim_add() can create the FIVR and DLVR sysfs groups
before creating the DVFS group.
If DVFS group creation fails while both earlier groups are enabled, the
current error handling removes only one group: the FIVR branch returns
before the DLVR cleanup branch can run. This leaves the DLVR group
behind even though RFIM setup fails.
Use one DVFS failure path that removes all previously created RFIM
groups before returning the error.
Signed-off-by: Pengpeng Hou <pengpeng@iscas.ac.cn>
Link: https://patch.msgid.link/20260615065245.84252-1-pengpeng@iscas.ac.cn
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions
