]> git.ipfire.org Git - thirdparty/linux.git/commit
coresight: core: Disable helpers for devices that fail to enable
authorYabin Cui <yabinc@google.com>
Tue, 29 Apr 2025 23:13:00 +0000 (16:13 -0700)
committerSuzuki K Poulose <suzuki.poulose@arm.com>
Wed, 30 Apr 2025 13:53:56 +0000 (14:53 +0100)
commitf6028eeeb5e4cf86f93f805098c84974a79bba8a
treec3181a2e601a7638ddafc1c0d8ecefca8e9aa8cc
parenta03a0a08c6fe5e50c1b12ea41b9e228e7f649c22
coresight: core: Disable helpers for devices that fail to enable

When enabling a SINK or LINK type coresight device fails, the
associated helpers should be disabled.

Fixes: 6148652807ba ("coresight: Enable and disable helper devices adjacent to the path")
Signed-off-by: Yabin Cui <yabinc@google.com>
Suggested-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Reviewed-by: James Clark <james.clark@linaro.org>
Reviewed-by: Mike Leach <mike.leach@linaro.org>
Reviewed-by: Leo Yan <leo.yan@arm.com>
Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Link: https://lore.kernel.org/r/20250429231301.1952246-3-yabinc@google.com
drivers/hwtracing/coresight/coresight-core.c