[alsa-devel] [PATCH v2] ASoC: soc-pcm: Allocate PCM operations dynamically to support multiple DAIs

Mark Brown broonie at opensource.wolfsonmicro.com
Mon Jan 2 14:30:29 CET 2012


On Mon, Jan 02, 2012 at 05:15:10PM +0900, Sangsu Park wrote:
> The original code does not cover the case that two DAIs(CPU) have different
> ASoC core PCM operations(like mmap, pointer...). Currently we have only one
> global soc_pcm_ops for ASoC core PCM operation. When two DAIs have different
> pointer functions, second DAI's pointer function is set for both first DAI
> and second DAI in case of original code.
> 
> This patch uses runtime's pcm_ops instead of global pcm_ops for each DAIs. So
> each DAIs can have different ASoC core PCM operations. This is needed to
> support multiple DAIs.
> ---

Actually I can't apply this as you haven't signed it off.  Please supply
a Signed-off-by for the patch.


More information about the Alsa-devel mailing list