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>
* see simple-card
*/
- ret = snd_soc_of_parse_audio_routing(card, "routing");
- if (ret)
+ ret = asoc_simple_card_of_parse_routing(card, NULL, 0);
+ if (ret < 0)
return ret;
asoc_simple_card_parse_convert(dev, NULL, &priv->adata);