]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
coresight/etm4: fix missing disable active config
authorYeoreum Yun <yeoreum.yun@arm.com>
Wed, 14 May 2025 16:19:49 +0000 (17:19 +0100)
committerSuzuki K Poulose <suzuki.poulose@arm.com>
Tue, 20 May 2025 15:38:47 +0000 (16:38 +0100)
commit895b12b7d7b8c651f73f57a1ea040d35aa7048cb
tree4fec61fa677ba6d7fa09f62de44cc77fdda76d2c
parentee811bc733be5c57a2bfecdf2f6f5d4db466200a
coresight/etm4: fix missing disable active config

When etm4 device is disabled via sysfs, it should disable its active
count.

Fixes: 7ebd0ec6cf94 ("coresight: configfs: Allow configfs to activate configuration")
Signed-off-by: Yeoreum Yun <yeoreum.yun@arm.com>
Reviewed-by: Leo Yan <leo.yan@arm.com>
Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Link: https://lore.kernel.org/r/20250514161951.3427590-2-yeoreum.yun@arm.com
drivers/hwtracing/coresight/coresight-etm4x-core.c