ASoC: snd_soc_register_component() uses properly snd_soc_register_dai[s]()
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Thu, 21 Mar 2013 10:27:13 +0000 (03:27 -0700)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 26 Mar 2013 21:55:21 +0000 (21:55 +0000)
commita1422b8cb443c6cfc58da38394673b8b8eda6458
treed668870bd2748d2abfe52658b4baa2349ae9ce1d
parent995f297298f2337a5f9794271dc225d17cdb2c15
ASoC: snd_soc_register_component() uses properly snd_soc_register_dai[s]()

snd_soc_register_dai()  uses fmt_single_name(), and
snd_soc_register_dais() uses fmt_multiple_name()
for dai->name which is used for name based matching.
This patch uses properly snd_soc_register_dai() it it was single driver,
and uses snd_register_dais() if it were multiple drivers.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/soc-core.c