UPSTREAM: ASoC: soc-core: snd_soc_get_dai_name() become non static
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Fri, 11 Nov 2016 01:19:28 +0000 (01:19 +0000)
committerSugar Zhang <sugar.zhang@rock-chips.com>
Thu, 9 Mar 2017 10:06:59 +0000 (18:06 +0800)
commit07f270f2971d4830d82e3ba140897556c84f0ff7
tree0728f0a9906eb737d648cddb7e1027fe1ef75677
parentc2b3e8740d8dcadbf90f8e9d947841cd2b7baa4a
UPSTREAM: ASoC: soc-core: snd_soc_get_dai_name() become non static

snd_soc_get_dai_name() is used from snd_soc_of_get_dai_name(),
and it is assuming that DT is using "sound-dai" / "#sound-dai-cells".
But graph base DT is using "remote-endpoint". This patch makes
snd_soc_get_dai_name() non static for graph support.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
(cherry picked from commit 1ad8ec535b997ed36c0f32c2616206725258dd30)

Change-Id: If99dcbfa722f09e3238cfafb5dc2803b6636a2e0
include/sound/soc.h
sound/soc/soc-core.c