Merge remote-tracking branches 'asoc/fix/atmel', 'asoc/fix/compress', 'asoc/fix/da721...
authorMark Brown <broonie@kernel.org>
Wed, 24 Aug 2016 18:05:22 +0000 (19:05 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 24 Aug 2016 18:05:22 +0000 (19:05 +0100)
1  2  3  4  5 
sound/soc/soc-core.c

diff --combined sound/soc/soc-core.c
@@@@@@ -1056,7 -1056,7 -1056,7 -1056,7 -1056,7 +1056,7 @@@@@@ static int soc_bind_dai_link(struct snd
        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);
@@@@@@ -2083,14 -2083,14 -2083,14 -2083,14 -2083,13 +2083,13 @@@@@@ static int soc_cleanup_card_resources(s
        /* remove auxiliary devices */
        soc_remove_aux_devices(card);
     
++++    snd_soc_dapm_free(&card->dapm);
        soc_cleanup_card_debugfs(card);
     
        /* remove the card */
        if (card->remove)
                card->remove(card);
     
----    snd_soc_dapm_free(&card->dapm);
---- 
        snd_card_free(card->snd_card);
        return 0;