summaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorMark Brown2016-08-24 20:05:17 +0200
committerMark Brown2016-08-24 20:05:17 +0200
commitae16842306be347fa44ec6cc642d7f6ac8b7b889 (patch)
tree88841959bc7815b8e723124995bc8e66b2cf71a1 /sound
parentLinux 4.8-rc3 (diff)
parentASoC: Fix leak of rtd in soc_bind_dai_link (diff)
downloadkernel-qcow2-linux-ae16842306be347fa44ec6cc642d7f6ac8b7b889.tar.gz
kernel-qcow2-linux-ae16842306be347fa44ec6cc642d7f6ac8b7b889.tar.xz
kernel-qcow2-linux-ae16842306be347fa44ec6cc642d7f6ac8b7b889.zip
Merge remote-tracking branch 'asoc/fix/core' into asoc-linus
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/soc-core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/soc-core.c b/sound/soc/soc-core.c
index 16369cad4803..b0e23db83695 100644
--- a/sound/soc/soc-core.c
+++ b/sound/soc/soc-core.c
@@ -1056,7 +1056,7 @@ static int soc_bind_dai_link(struct snd_soc_card *card,
if (!rtd->platform) {
dev_err(card->dev, "ASoC: platform %s not registered\n",
dai_link->platform_name);
- return -EPROBE_DEFER;
+ goto _err_defer;
}
soc_add_pcm_runtime(card, rtd);