diff options
author | Mark Brown <broonie@kernel.org> | 2016-08-24 20:05:17 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-08-24 20:05:17 +0200 |
commit | ae16842306be347fa44ec6cc642d7f6ac8b7b889 (patch) | |
tree | 88841959bc7815b8e723124995bc8e66b2cf71a1 /sound | |
parent | Linux 4.8-rc3 (diff) | |
parent | ASoC: Fix leak of rtd in soc_bind_dai_link (diff) | |
download | linux-ae16842306be347fa44ec6cc642d7f6ac8b7b889.tar.xz linux-ae16842306be347fa44ec6cc642d7f6ac8b7b889.zip |
Merge remote-tracking branch 'asoc/fix/core' into asoc-linus
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/soc-core.c | 2 |
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); |