Skip to content
Commit 11b3a7ad authored by Stephen Warren's avatar Stephen Warren Committed by Mark Brown
Browse files

ASoC: restructure dmaengine_pcm_request_chan_of()



Restructure the internals of dmaengine_pcm_request_chan_of() as a loop
over all channels to be allocated. This makes it easier to add logic
that applies to all allocated channels, without having to duplicate that
logic in each of the half-duplex/full-duplex paths.

Signed-off-by: default avatarStephen Warren <swarren@nvidia.com>
Acked-by: default avatarLars-Peter Clausen <lars@metafoo.de>
Signed-off-by: default avatarMark Brown <broonie@linaro.org>
parent a22f33b0
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