Re: [PATCH 50/54 v2] ASoC: switch over to use snd_soc_register_component() on tegra20 ac97

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

 



On 03/21/2013 04:37 AM, Kuninori Morimoto wrote:

Lucas, can you please test this to make sure that the change from
snd_soc_register_dais() to snd_soc_register_dai() (the latter inside
snd_soc_register_component()) coupled with the change to the
tegra_wm9712.c machine driver yields the correct results. Thanks.

> diff --git a/sound/soc/tegra/tegra20_ac97.c b/sound/soc/tegra/tegra20_ac97.c

> -	ret = snd_soc_register_dais(&pdev->dev, &tegra20_ac97_dai, 1);
> +	ret = snd_soc_register_component(&pdev->dev, &tegra20_ac97_component,
> +					 &tegra20_ac97_dai, 1);

> diff --git a/sound/soc/tegra/tegra_wm9712.c b/sound/soc/tegra/tegra_wm9712.c

>  static struct snd_soc_dai_link tegra_wm9712_dai = {
>  	.name = "AC97 HiFi",
>  	.stream_name = "AC97 HiFi",
> -	.cpu_dai_name = "tegra-ac97-pcm",
> +	.cpu_dai_name = "tegra20-ac97",

_______________________________________________
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