drm/rockchip: fix iommu_map_sg check
[firefly-linux-kernel-4.4.55.git] / sound / soc / soc-topology.c
index 6963ba20991c10066fdad2ad65f3102fc5752424..70396d3f64728bad98d7f5a665ebfb66351bfdf9 100644 (file)
@@ -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;
        }