diff options
| author | Vijendar Mukunda <Vijendar.Mukunda@amd.com> | 2026-09-10 18:50:07 +0530 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-09-17 12:48:24 +0100 |
| commit | 750176135630f1eda6e946ecb4155c2b7afa199b (patch) | |
| tree | b3b075748ee76b877ebd2aef0370813d16294e33 /tools/perf/scripts/python/task-analyzer.py | |
| parent | 612684a9d2afd1a49017282b2666fb919dbc4f4c (diff) | |
ASoC: SOF: amd: wire SoundWire probe and remove into ACP7.B/7.F paths
In amd_sof_acp7x_probe(), scan DSDT for SoundWire peripherals via
acp_sof_scan_sdw_devices() and call amd_sof_sdw_probe() on success.
In the error unwind, call free_irq() before amd_sof_sdw_exit() so
the IRQ cannot fire after the SoundWire context is freed.
In amd_sof_acp7x_remove(), call amd_sof_sdw_exit() after free_irq()
to prevent a use-after-free: the IRQ handler dereferences pdev[] entries
freed by amd_sof_sdw_exit().
Signed-off-by: Vijendar Mukunda <Vijendar.Mukunda@amd.com>
Link: https://patch.msgid.link/20260910132251.1171943-8-Vijendar.Mukunda@amd.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions
