diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2017-06-15 00:25:33 +0000 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2017-06-15 18:15:03 +0100 |
commit | bfe6b5898269b92571e502b4d706c815dd6bf53b (patch) | |
tree | d6ebe6f5ec6a8905fb804fe6aa3a6b01c2c79b5e /sound/soc/generic | |
parent | 1fdb5d258e28de85263a34aab57f0a70b1715342 (diff) |
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.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; |