mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-10 20:48:12 +00:00
coresight: cti: Fix register reads
Introduce cti_read_single_reg() as an interface for reading registers with unlocking the CS lock. Consolidate register read in sysfs interfaces using this new helper. Fixes:b5213376c2("coresight: cti: Add sysfs access to program function registers") Fixes:1a556ca6cc("coresight: cti: Add sysfs coresight mgmt register access") 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-2-b30fada3cfec@arm.com
This commit is contained in:
parent
ef7d4aaf68
commit
6582fe69ac
3 changed files with 14 additions and 4 deletions
Loading…
Add table
Add a link
Reference in a new issue