[alsa-devel] [PATCH 2/4] ASOC: tegra: fix matching of AC97 components
Matching works completely based on the cpu of_node.
Signed-off-by: Lucas Stach dev@lynxeye.de --- This got broken some time ago. No cc stable as it's not really a regression, as I can't remember a single point in time when everything AC97 related would have been in place and working.
CC: alsa-devel@alsa-project.org CC: broonie@kernel.org --- sound/soc/tegra/tegra_wm9712.c | 1 - 1 file changed, 1 deletion(-)
diff --git a/sound/soc/tegra/tegra_wm9712.c b/sound/soc/tegra/tegra_wm9712.c index 5e11963..45b5789 100644 --- a/sound/soc/tegra/tegra_wm9712.c +++ b/sound/soc/tegra/tegra_wm9712.c @@ -55,7 +55,6 @@ static int tegra_wm9712_init(struct snd_soc_pcm_runtime *rtd) static struct snd_soc_dai_link tegra_wm9712_dai = { .name = "AC97 HiFi", .stream_name = "AC97 HiFi", - .cpu_dai_name = "tegra20-ac97", .codec_dai_name = "wm9712-hifi", .codec_name = "wm9712-codec", .init = tegra_wm9712_init,
On 07/21/2013 02:28 PM, Lucas Stach wrote:
Matching works completely based on the cpu of_node.
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 = "tegra20-ac97", .codec_dai_name = "wm9712-hifi", .codec_name = "wm9712-codec",
Shouldn't codec_of_node be used in preference to codec_name too?
participants (2)
-
Lucas Stach
-
Stephen Warren