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

Mark Brown broonie at opensource.wolfsonmicro.com
Fri Dec 23 11:21:02 CET 2011


On Fri, Dec 23, 2011 at 09:42:01AM +0000, Liam Girdwood wrote:

> I assume that you have two different DMA controllers (with a separate
> DMA platform drivers) here ?

> If so, why can you not specify each DMA platform driver in your machine
> driver DAI link ?

Alan Tull reported the same problem before with a patch that needed
respinning.  The issue is that we have a static soc_pcm_ops and we don't
properly indirect everything, we copy some of the ops into snd_pcm_ops
directly.  This means that if those ops end up being used then they end
up being the same for both drivers.

I was actually intending to fix this over Christmas.


More information about the Alsa-devel mailing list