mirror of
https://github.com/torvalds/linux.git
synced 2026-05-31 02:24:24 +02:00
coresight/etm4: fix missing disable active config
When etm4 device is disabled via sysfs, it should disable its active
count.
Fixes: 7ebd0ec6cf ("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
This commit is contained in:
parent
ee811bc733
commit
895b12b7d7
|
|
@ -1048,6 +1048,9 @@ static void etm4_disable_sysfs(struct coresight_device *csdev)
|
|||
smp_call_function_single(drvdata->cpu, etm4_disable_hw, drvdata, 1);
|
||||
|
||||
raw_spin_unlock(&drvdata->spinlock);
|
||||
|
||||
cscfg_csdev_disable_active_config(csdev);
|
||||
|
||||
cpus_read_unlock();
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user