diff options
| author | Rosen Penev <rosenp@gmail.com> | 2026-08-06 16:32:31 -0700 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-08-11 15:41:29 +0100 |
| commit | f12afefb7b01f94d6d66d397f323a9914edbf70e (patch) | |
| tree | c40f07468ad8bfd153aaf0be687eea8a3a711951 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | 78983d82dc4c677c5cd2941ef828b1903ca51c9e (diff) | |
ASoC: xilinx: formatter_pcm: pass aud_drv_data to irq handlers
The irq handlers take a struct device pointer and call
dev_get_drvdata() to obtain the driver data. However, the driver
data is only set at the end of probe, after devm_request_irq(),
so an interrupt taken in between causes the handlers to pass a
NULL pointer to readl() and crash.
Pass the private data directly as the devm_request_irq() argument
instead of the device pointer, matching what the handlers expect.
Fixes: 6f6c3c36f091 ("ASoC: xlnx: add pcm formatter platform driver")
Assisted-by: opencode:deepseek-v4-flash-free
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Reviewed-by: Michal Simek <michal.simek@amd.com>
Link: https://patch.msgid.link/20260806233231.30631-1-rosenp@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions
