Re: [PATCH 09/14] ASoC: multi-component - RMI Alchemy AU1x Platform

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Aug 11, 2010 at 09:46:28AM +0100, Liam Girdwood wrote:
> Update the RMI Alchemy platform and machines to new multi-component model.
> 
> This patch changes the machine drivers for multi-component as follows :-
> 
>  o Removed socdev
>  o Each DAI link entry now contains platform and codec fields.
>  o DAI link init() now passed snd_soc_pcm_runtime instread of snd_soc_codec.
> 
> This patch also changes the DAI and platform DAM drivers as follows :-
> 
>  o Each platform DAI and platform DMA driver is a kernel device and can
>    have platform data.
>  o DAI and Platform DMA drivers have private data accessors.
> 
> Other notable changes required for multi-component support:-
> 
>  o Removed empty remove() functions
> 
> CC: Manuel Lauss <mano@xxxxxxxxxxxxxxxxxxxxxxx>
> Signed-off-by: Liam Girdwood <lrg@xxxxxxxxxxxxxxx>

> @@ -80,8 +75,10 @@ static struct snd_soc_ops db1200_i2s_wm8731_ops = {
>  static struct snd_soc_dai_link db1200_i2s_dai = {
>  	.name		= "WM8731",
>  	.stream_name	= "WM8731 PCM",
> -	.cpu_dai	= &au1xpsc_i2s_dai,
> -	.codec_dai	= &wm8731_dai,
> +	.cpu_dai_name	= &au1xpsc_i2s_dai,
> +	.codec_dai_name	= &wm8731_dai,
> +	.platform_name	= &au1xpsc_soc_platform,
> +	.codec_name	= &soc_codec_dev_wm8731,

That doesn't compile, however I have no idea what to set it to.
Is there documentation how component matching is done?

Manuel
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel


[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux