commit | 11b3a7add2841aa698aa0a32396b6db413c22eda | [log] [tgz] |
---|---|---|
author | Stephen Warren <swarren@nvidia.com> | Tue Dec 03 14:26:32 2013 -0700 |
committer | Mark Brown <broonie@linaro.org> | Mon Dec 09 18:42:27 2013 +0000 |
tree | ae84542e406d20f97bdc84e8a4ed31478c5fe0f3 | |
parent | a22f33b00346f26d29483cdacdbf26df7947ef23 [diff] |
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: Stephen Warren <swarren@nvidia.com> Acked-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Mark Brown <broonie@linaro.org>