ASoC: audio-graph-scu-card: tidyup "prefix" parsing
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Thu, 22 Nov 2018 00:56:21 +0000 (00:56 +0000)
committerMark Brown <broonie@kernel.org>
Fri, 23 Nov 2018 14:01:51 +0000 (14:01 +0000)
commit2624fc7882244abeb4dabbd5b67328676a109b6a
tree92c34b6516b8f03834241c2afe5fdb6759cec71f
parent264d15035eac5e779788c435bafb5c8319ffed81
ASoC: audio-graph-scu-card: tidyup "prefix" parsing

audio-graph-scu-card.c is supporting "prefix" which is used to avoid
DAI naming conflict when CPU/Codec matching.
But, sound card might have multi sub-devices, and each codec might need
each prefix.

Now, ASoC is supporting snd_soc_of_parse_node_prefix(), let's support
it on audio-graph-scu-card, too. It is keeping existing DT style.

It can't support each codec's prefix if sound card had multi sub-devices
without this patch.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/generic/audio-graph-scu-card.c