[alsa-devel] [PATCH V2 1/3] ASoC: restructure dmaengine_pcm_request_chan_of()

Lars-Peter Clausen lars at metafoo.de
Fri Dec 6 10:30:26 CET 2013


On 12/03/2013 10:26 PM, Stephen Warren wrote:
> From: Stephen Warren <swarren at nvidia.com>
> 
> 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 at nvidia.com>

Looks good, makes sense.

Acked-by: Lars-Peter Clausen <lars at metafoo.de>




More information about the Alsa-devel mailing list