[alsa-devel] [PATCH 2/3] ASoC: Samsung: Debug PCM snd_soc_dai_driver registration

Mark Brown broonie at opensource.wolfsonmicro.com
Fri Sep 10 11:54:39 CEST 2010


On Fri, Sep 10, 2010 at 04:41:05PM +0900, Jassi Brar wrote:

>  struct snd_soc_dai_driver s3c_pcm_dai[] = {
> -	S3C_PCM_DAI_DECLARE,
> -	S3C_PCM_DAI_DECLARE,
> +	[0] = {
> +		.name	= "samsung-pcm.0",
> +		S3C_PCM_DAI_DECLARE,

You should be able to use the id field rather than adding the number to
the names here.


More information about the Alsa-devel mailing list