diff options
-rw-r--r-- | sound/soc/generic/audio-graph-scu-card.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/generic/audio-graph-scu-card.c b/sound/soc/generic/audio-graph-scu-card.c index 9502f6ed14b8..05934b24627b 100644 --- a/sound/soc/generic/audio-graph-scu-card.c +++ b/sound/soc/generic/audio-graph-scu-card.c | |||
@@ -195,8 +195,8 @@ static int asoc_graph_card_parse_of(struct graph_card_data *priv) | |||
195 | * see simple-card | 195 | * see simple-card |
196 | */ | 196 | */ |
197 | 197 | ||
198 | ret = snd_soc_of_parse_audio_routing(card, "routing"); | 198 | ret = asoc_simple_card_of_parse_routing(card, NULL, 0); |
199 | if (ret) | 199 | if (ret < 0) |
200 | return ret; | 200 | return ret; |
201 | 201 | ||
202 | asoc_simple_card_parse_convert(dev, NULL, &priv->adata); | 202 | asoc_simple_card_parse_convert(dev, NULL, &priv->adata); |