diff options
| author | bui duc phuc <phucduc.bui@gmail.com> | 2026-07-20 13:41:31 +0700 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-07-28 19:38:32 +0100 |
| commit | 9167f260477b18ee9ffffc35fcf721f7255c444f (patch) | |
| tree | eacd00bfb9b3a1ae72f4fa52a3baa1cbbd0e82cd /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | 14cdac7638c3367c39af206456ed2f2d37e59401 (diff) | |
ASoC: soc-generic-dmaengine: Handle DMA channel request failures correctly
Currently any dma_request_chan() failure other than -EPROBE_DEFER is
silently ignored, since a missing channel is expected for devices that
only support one DMA direction.
Improve the handling of these failures by:
- reporting failures when a configured DMA channel cannot be requested;
- failing probe if neither playback nor capture obtains a DMA channel,
since the PCM device would be unusable.
Devices that legitimately support only one DMA direction continue to
work as before.
Signed-off-by: bui duc phuc <phucduc.bui@gmail.com>
Link: https://patch.msgid.link/20260720064131.75156-1-phucduc.bui@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
