diff options
| author | Pengpeng Hou <pengpeng@iscas.ac.cn> | 2026-06-15 14:44:56 +0800 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-06-29 18:28:47 +0100 |
| commit | ce3733792d38ade8df8ce288a96ff0c6ad858bf3 (patch) | |
| tree | e873f7fc3d82917af91b60751a82918eb3a8571c /tools/perf/scripts/python | |
| parent | 6ed013a581d00f84bbd0c3c60f7a108bef93fc4e (diff) | |
ASoC: sma1303: remove fault-check sysfs group on remove
sma1303_i2c_probe() creates a sysfs group that exposes the fault-check
controls. The check_fault_status store callback can queue
check_fault_work.
sma1303_i2c_remove() only cancels the delayed work. It does not remove
the sysfs group, so the controls can remain published after remove while
their callbacks still use the driver data and can queue the work again.
Remove the sysfs group before cancelling the delayed work.
Signed-off-by: Pengpeng Hou <pengpeng@iscas.ac.cn>
Link: https://patch.msgid.link/20260615064456.28615-1-pengpeng@iscas.ac.cn
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
