diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2017-06-15 03:25:33 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2017-06-15 20:15:03 +0300 |
commit | bfe6b5898269b92571e502b4d706c815dd6bf53b (patch) | |
tree | d6ebe6f5ec6a8905fb804fe6aa3a6b01c2c79b5e /sound | |
parent | 1fdb5d258e28de85263a34aab57f0a70b1715342 (diff) | |
download | linux-bfe6b5898269b92571e502b4d706c815dd6bf53b.tar.xz |
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')
-rw-r--r-- | sound/soc/generic/simple-scu-card.c | 2 |
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; |