21 Mar
2013
21 Mar
'13
6:03 p.m.
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",