ASoC: soc-core.c: add snd_soc_add_pcm_runtimes()
[linux-2.6-microblaze.git] / sound / soc / soc-topology.c
index 7f6424f..be98497 100644 (file)
@@ -1741,7 +1741,7 @@ static int soc_tplg_fe_link_create(struct soc_tplg *tplg,
                goto err;
        }
 
-       ret = snd_soc_add_pcm_runtime(tplg->comp->card, link);
+       ret = snd_soc_add_pcm_runtimes(tplg->comp->card, link, 1);
        if (ret < 0) {
                dev_err(tplg->dev, "ASoC: adding FE link failed\n");
                goto err;