diff options
| author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2026-09-24 18:48:12 +0200 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-09-25 18:52:34 +0100 |
| commit | b25a036348e945a1ddb106609fc9fa52205cc936 (patch) | |
| tree | 887ce56bd6b70b811f4acf57dd4d74e3d81d6997 /scripts/Makefile.thinlto | |
| parent | 9a69c8c783e405412de78b01195bb8e5b896b1a6 (diff) | |
| download | linux-b25a036348e945a1ddb106609fc9fa52205cc936.tar.gz linux-b25a036348e945a1ddb106609fc9fa52205cc936.zip | |
ASoC: sprd: Shadow errors from dma_request_chan()
For some reason the SPDR PCM support code requests DMA resources
in the IOCTL. This might lead to the Linux error codes, such as
EPROBE_DEFER, to be leaked to the user space. Prevent that from
happening by shadowing errors from dma_request_chan() as it was
done previously (see Fixes tag).
Fixes: 08d77e31df21 ("ASoC: sprd: Replace dma_request_slave_channel() by dma_request_chan()")
Reported-by: Sashiko <sashiko-bot@kernel.org>
Closes: https://lore.kernel.org/r/20260918115229.CC8AC1F000FF@smtp.kernel.org
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://patch.msgid.link/20260924164812.816743-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
