[alsa-devel] Separate dma driver for cpu_dais

Mark Brown broonie at opensource.wolfsonmicro.com
Thu Feb 18 10:35:00 CET 2010

On Thu, Feb 18, 2010 at 11:14:57AM +0900, jassi brar wrote:
> On Wed, Feb 17, 2010 at 10:14 PM, Mark Brown
> > On Wed, Feb 17, 2010 at 09:15:56PM +0900, jassi brar wrote:

> >> The workaround to enable a cpu_dai to be used in multiple dai_links isn't

> > What workaround?

> The same as that for codec_dai.
> cpu_dai is used exact the same way as codec_dai except for runtime
> pointer assignment in soc_pcm_open as i mentioned already.

Could you please be more specific about what the workaround you are
referring to is?  I'm genuinely not clear what you mean here.

> So, it seems, the member 'struct snd_pcm_runtime *'  of 'struct snd_soc_dai'
> is mostly unused. We can easily move it to 'struct snd_soc_dai_link' or
> even drop it altogether to reduce redundancy(I prefer).

May as well drop it once the Atmel drivers no longer need it.

More information about the Alsa-devel mailing list