diff options
| author | 2026-02-09 12:44:40 +0000 | |
|---|---|---|
| committer | 2026-02-25 11:14:45 +0000 | |
| commit | eef33a7cce239783d0422526a4d786289a936f1b (patch) | |
| tree | ff6a25eef26ed404d3eb167ce1e840588b0c9e77 /tools/testing/ktest/examples/include/ssh:/git@git.zx2c4.com/git: | |
| parent | coresight: Do not mix success path with failure handling (diff) | |
coresight: Unify bus unregistration via coresight_unregister()
Once a device is successfully registered, set the "registered" flag to
true. After that point, all failures jump to the out_unlock label to
unwind the flow via coresight_unregister().
Since failure handling is unified, the comment about resource release
for the etm_perf_add_symlink_sink() failure is no need, remove it.
Signed-off-by: Leo Yan <leo.yan@arm.com>
Reviewed-by: James Clark <james.clark@linaro.org>
Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Link: https://lore.kernel.org/r/20260209-arm_coresight_refactor_dev_register-v4-8-62d6042f76f7@arm.com
Diffstat (limited to 'tools/testing/ktest/examples/include/ssh:/git@git.zx2c4.com/git:')
0 files changed, 0 insertions, 0 deletions
