diff options
| author | 2026-05-15 21:08:09 +0100 | |
|---|---|---|
| committer | 2026-05-18 10:18:44 +0100 | |
| commit | 864754d0a084141085f154db044401fb2dce6a34 (patch) | |
| tree | fd47f3e419e94c863636fa647b8263e0f4c923dc /tools/lib/python | |
| parent | coresight: Fix source not disabled on idr_alloc_u32 failure (diff) | |
coresight: Handle helper enable failure properly
If a helper fails to be enabled, unwind any helpers that were already
enabled earlier in the loop. This avoids leaving partially enabled
helpers behind.
Fixes: 6148652807ba ("coresight: Enable and disable helper devices adjacent to the path")
Reviewed-by: Yeoreum Yun <yeoreum.yun@arm.com>
Reviewed-by: James Clark <james.clark@linaro.org>
Tested-by: James Clark <james.clark@linaro.org>
Tested-by: Jie Gan <jie.gan@oss.qualcomm.com>
Signed-off-by: Leo Yan <leo.yan@arm.com>
Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Link: https://lore.kernel.org/r/20260515-arm_coresight_path_power_management_improvement-v14-2-f88c4a3ecfe9@arm.com
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions
