[alsa-devel] [PATCH 0/53] ASoC: switch over to use snd_soc_register_component()

Kuninori Morimoto kuninori.morimoto.gx at renesas.com
Thu Mar 21 01:14:44 CET 2013

Hi Stephen, Lars

Thank you for your advice

> > This will fix it for most drivers, but there are a couple of drivers which use
> > snd_soc_register_dais with 1 dai.
> > 
> > E.g. tegra/tegra20_ac97.c, sh/siu_dai.c, sh/hac.c, sh.ssi.c

I can check sh/* drivers.
(I guess some of these are not used on sh, I'm not sure why...)

> I believe this can be fixed simply by adjusting the relevant machine
> driver(s) to match whatever the new name is.
> Any change to tegra20_ac97.c would only affect
> sound/soc/tegra/tegra_wm9712.c's struct tegra_wm9712_dai .cpu_dai_name
> field. I suspect the correct fix might be to just remove the assignment
> to .cpu_dai_name in tegra_wm9712.c; I think that because the
> .cpu_of_node field is always set by that driver, the value of
> .cpu_dai_name is never used? Anyway, if you fix tegra_wm9712.c in your
> patch, I hope that Lucas Stach can test it.

OK, I will try to fix it in v2 patch set

Best regards
Kuninori Morimoto

More information about the Alsa-devel mailing list