WSL2-Linux-Kernel/sound/soc/apple
Martin Povišer fb1847cc46
ASoC: apple: mca: Improve handling of unavailable DMA channels
When we fail to obtain a DMA channel, don't return a blanket -EINVAL,
instead return the original error code if there's one. This makes
deferring work as it should. Also don't print an error message for
-EPROBE_DEFER.

Fixes: 4ec8179c21 ("ASoC: apple: mca: Postpone requesting of DMA channels")
Signed-off-by: Martin Povišer <povik+lin@cutebit.org>
Link: https://lore.kernel.org/r/20230224153302.45365-3-povik+lin@cutebit.org
Signed-off-by: Mark Brown <broonie@kernel.org>
2023-02-24 16:31:20 +00:00
..
Kconfig ASoC: apple: mca: Unselect COMMON_CLK in Kconfig 2022-09-01 12:49:21 +01:00
Makefile
mca.c ASoC: apple: mca: Improve handling of unavailable DMA channels 2023-02-24 16:31:20 +00:00