diff options
author | Martin Povišer <povik+lin@cutebit.org> | 2023-02-24 16:33:02 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-02-24 16:31:20 +0000 |
commit | fb1847cc460c127b12720119eae5f438ffc62e85 (patch) | |
tree | 871f8e51b58a9c08223ebf0a6e68bbcb52b4bd50 /sound/usb/card.h | |
parent | d8b3e396088d787771f19fd3b7949e080dc31d6f (diff) |
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: 4ec8179c212f ("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>
Diffstat (limited to 'sound/usb/card.h')
0 files changed, 0 insertions, 0 deletions