]> git.baikalelectronics.ru Git - kernel.git/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)
commit802df069df7da9ba96bab4a6eabec25e5af4e07a
tree9734475724983a02fd470e9cdc759a870f8b30e7
parent0c071fe960a501fd7dbb0e61c4edb7124cd21720
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