aboutsummaryrefslogtreecommitdiff
path: root/sound/soc/generic
diff options
context:
space:
mode:
authorGravatar Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> 2017-06-15 00:25:33 +0000
committerGravatar Mark Brown <broonie@kernel.org> 2017-06-15 18:15:03 +0100
commitbfe6b5898269b92571e502b4d706c815dd6bf53b (patch)
treed6ebe6f5ec6a8905fb804fe6aa3a6b01c2c79b5e /sound/soc/generic
parentASoC: simple-card: use asoc_simple_card_of_parse_routing() (diff)
downloadlinux-bfe6b5898269b92571e502b4d706c815dd6bf53b.tar.gz
linux-bfe6b5898269b92571e502b4d706c815dd6bf53b.tar.bz2
linux-bfe6b5898269b92571e502b4d706c815dd6bf53b.zip
ASoC: simple-scu-card: use asoc_simple_card_of_parse_routing()
Current simple/audio scu card drivers are supporting same routing on DT, but, doesn't use same function for it. Encapsulation is one of simple card util's purpose. Let's use asoc_simple_card_of_parse_routing Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/generic')
-rw-r--r--sound/soc/generic/simple-scu-card.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/generic/simple-scu-card.c b/sound/soc/generic/simple-scu-card.c
index 44da69101097..a75b385455c4 100644
--- a/sound/soc/generic/simple-scu-card.c
+++ b/sound/soc/generic/simple-scu-card.c
@@ -191,7 +191,7 @@ static int asoc_simple_card_parse_of(struct simple_card_data *priv)
if (!node)
return -EINVAL;
- ret = snd_soc_of_parse_audio_routing(card, PREFIX "routing");
+ ret = asoc_simple_card_of_parse_routing(card, PREFIX, 0);
if (ret < 0)
return ret;