diff options
| author | Leo Yan <leo.yan@arm.com> | 2026-02-26 09:23:55 +0000 |
|---|---|---|
| committer | Suzuki K Poulose <suzuki.poulose@arm.com> | 2026-03-03 10:23:46 +0000 |
| commit | d5e57babdffb961ca8b51910d00c2c0ddb03c54a (patch) | |
| tree | e6a63ce96e7e40b0e00f495249c484dc5f225be8 /tools/lib/python/kdoc | |
| parent | daedb30fd6ac68a100912407aba3a4fdba8a4080 (diff) | |
coresight: cti: Remove hw_enabled flag
The enable_req_count field already tracks whether the CTI device is
enabled. A non-zero value indicates that the device is active, the
hw_enabled flag is redundant if so.
Remove hw_enabled and update cti_is_active() to check enable_req_count.
Replace open-coded enable_req_count checks with cti_is_active().
Reviewed-by: Mike Leach <mike.leach@arm.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/20260226-arm_coresight_cti_refactor_v1-v2-7-b30fada3cfec@arm.com
Diffstat (limited to 'tools/lib/python/kdoc')
0 files changed, 0 insertions, 0 deletions
