summaryrefslogtreecommitdiffstats
path: root/sound/soc/generic
diff options
context:
space:
mode:
authorDaniel Baluta <daniel.baluta@nxp.com>2017-08-11 16:12:19 +0200
committerMark Brown <broonie@kernel.org>2017-08-16 13:00:18 +0200
commitd0148eb4a41e65ac95bfaaa13c75364b95b1e052 (patch)
tree43a5a1dd62ec8f7d37200b887aa2bf2b9548579f /sound/soc/generic
parentLinux v4.13-rc1 (diff)
downloadlinux-d0148eb4a41e65ac95bfaaa13c75364b95b1e052.tar.xz
linux-d0148eb4a41e65ac95bfaaa13c75364b95b1e052.zip
ASoC: simple-scu-card: Parse off codec widgets
Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/generic')
-rw-r--r--sound/soc/generic/simple-scu-card.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sound/soc/generic/simple-scu-card.c b/sound/soc/generic/simple-scu-card.c
index a75b385455c4..0bb3da755532 100644
--- a/sound/soc/generic/simple-scu-card.c
+++ b/sound/soc/generic/simple-scu-card.c
@@ -191,6 +191,10 @@ static int asoc_simple_card_parse_of(struct simple_card_data *priv)
if (!node)
return -EINVAL;
+ ret = asoc_simple_card_of_parse_widgets(card, PREFIX);
+ if (ret < 0)
+ return ret;
+
ret = asoc_simple_card_of_parse_routing(card, PREFIX, 0);
if (ret < 0)
return ret;