summaryrefslogtreecommitdiffstats
path: root/kernel/sound/soc/soc-topology.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/sound/soc/soc-topology.c')
-rw-r--r--kernel/sound/soc/soc-topology.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/sound/soc/soc-topology.c b/kernel/sound/soc/soc-topology.c
index 6963ba209..70396d3f6 100644
--- a/kernel/sound/soc/soc-topology.c
+++ b/kernel/sound/soc/soc-topology.c
@@ -1484,6 +1484,7 @@ widget:
if (widget == NULL) {
dev_err(tplg->dev, "ASoC: failed to create widget %s controls\n",
w->name);
+ ret = -ENOMEM;
goto hdr_err;
}