Merge branch 'asoc-5.2' into asoc-5.3
authorMark Brown <broonie@kernel.org>
Thu, 6 Jun 2019 21:44:24 +0000 (22:44 +0100)
committerMark Brown <broonie@kernel.org>
Thu, 6 Jun 2019 21:44:24 +0000 (22:44 +0100)
1  2 
sound/hda/ext/hdac_ext_bus.c
sound/soc/intel/boards/bytcht_es8316.c
sound/soc/intel/boards/cht_bsw_max98090_ti.c
sound/soc/intel/boards/cht_bsw_nau8824.c
sound/soc/intel/boards/cht_bsw_rt5672.c
sound/soc/soc-core.c
sound/soc/sof/intel/hda.c
sound/soc/sunxi/sun4i-i2s.c

Simple merge
@@@ -1983,6 -2072,16 +1983,16 @@@ static int snd_soc_instantiate_card(str
        int ret, i, order;
  
        mutex_lock(&client_mutex);
 -                      soc_cleanup_platform(card);
+       for_each_card_prelinks(card, i, dai_link) {
+               ret = soc_init_dai_link(card, dai_link);
+               if (ret) {
++                      soc_cleanup_card_resources(card);
+                       dev_err(card->dev, "ASoC: failed to init link %s: %d\n",
+                               dai_link->name, ret);
+                       mutex_unlock(&client_mutex);
+                       return ret;
+               }
+       }
        mutex_lock_nested(&card->mutex, SND_SOC_CARD_CLASS_INIT);
  
        card->dapm.bias_level = SND_SOC_BIAS_OFF;
Simple merge
Simple merge