]> Pileus Git - ~andy/linux/commit
ASoC: core: Fix the DAI name getting.
authorXiubo Li <Li.Xiubo@freescale.com>
Fri, 20 Dec 2013 06:39:51 +0000 (14:39 +0800)
committerMark Brown <broonie@linaro.org>
Tue, 31 Dec 2013 16:27:44 +0000 (16:27 +0000)
commite41975edc73d2c16d0784e5fa87a6162e2fcab80
tree9734475724983a02fd470e9cdc759a870f8b30e7
parent95ab1297e7b1a57c2b777f210b74f3a2bd2ac269
ASoC: core: Fix the DAI name getting.

From "ASoC: make snd_soc_dai_link more symmetrical", can we see that
the name of CPU DAI maybe omitted. If the DAI name is omitted, try to
use the component name instead.

Signed-off-by: Xiubo Li <Li.Xiubo@freescale.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/soc-core.c