diff options
| author | Pengpeng Hou <pengpeng@iscas.ac.cn> | 2026-07-06 22:47:06 +0800 |
|---|---|---|
| committer | Nishanth Menon <nm@ti.com> | 2026-07-17 10:45:33 -0500 |
| commit | 3c817862759913097f11467ed4ed2bbf974dabaf (patch) | |
| tree | f64223081165787ab985b77a363daf3b366c40a6 /tools/perf/scripts/python | |
| parent | f52ddaf5e771c753663a719834848fde92b219f8 (diff) | |
soc: ti: knav_qmss: Remove debugfs file on teardown
knav_queue_probe() creates the global qmss debugfs file whose show
callback reads the global knav_qdev state. knav_queue_remove() tears
down the queue manager resources but leaves the debugfs file published.
Save the debugfs dentry in struct knav_device and remove it during
teardown before the resources used by the show callback are released.
While touching the debugfs_create_file() call, spell the unchanged read-
only file mode as 0444.
Fixes: 41f93af900a2 ("soc: ti: add Keystone Navigator QMSS driver")
Signed-off-by: Pengpeng Hou <pengpeng@iscas.ac.cn>
Link: https://patch.msgid.link/20260706144706.96313-1-pengpeng@iscas.ac.cn
Signed-off-by: Nishanth Menon <nm@ti.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
