diff options
author | Liam Girdwood <lrg@slimlogic.co.uk> | 2010-09-08 00:06:58 +0100 |
---|---|---|
committer | Ricardo Perez Olivares <x0081762@ti.com> | 2010-09-09 15:13:41 -0500 |
commit | c959b2b50de19036be2d02bdbdcd4c8bfe7f1a56 (patch) | |
tree | c8dae306fa73e3606ea962918bfe942bbd75d91e | |
parent | 6cf5de94c9703c638a269f6c1ed9bf27f5e3fa14 (diff) |
ASoC: core - make sure we recover from BE startup errors
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Margarita Olaya Cabrera <magi.olaya@ti.com>
-rw-r--r-- | sound/soc/soc-core.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sound/soc/soc-core.c b/sound/soc/soc-core.c index 968dc9383abe..bafdc6d92ec3 100644 --- a/sound/soc/soc-core.c +++ b/sound/soc/soc-core.c @@ -671,6 +671,9 @@ platform_err: if (cpu_dai->driver->ops->shutdown) cpu_dai->driver->ops->shutdown(substream, cpu_dai); out: + if (rtd->dai_link->dynamic) + snd_soc_put_backend_dais(substream); + mutex_unlock(&rtd->pcm_mutex); return ret; |