Skip to content
Commit acb1ad74 authored by Martin Povišer's avatar Martin Povišer Committed by Greg Kroah-Hartman
Browse files

ASoC: apple: mca: Improve handling of unavailable DMA channels

[ Upstream commit fb1847cc ]

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: 4ec8179c

 ("ASoC: apple: mca: Postpone requesting of DMA channels")
Signed-off-by: default avatarMartin Povišer <povik+lin@cutebit.org>
Link: https://lore.kernel.org/r/20230224153302.45365-3-povik+lin@cutebit.org
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 0f18cd1d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment