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

Stephen Warren swarren at wwwdotorg.org
Thu Mar 21 18:03:36 CET 2013


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",



More information about the Alsa-devel mailing list