Merge remote-tracking branches 'asoc/topic/davinci', 'asoc/topic/debugfs', 'asoc...
authorMark Brown <broonie@kernel.org>
Fri, 26 Jan 2018 15:27:09 +0000 (15:27 +0000)
committerMark Brown <broonie@kernel.org>
Fri, 26 Jan 2018 15:27:09 +0000 (15:27 +0000)
1  2  3  4  5  6 
sound/soc/soc-core.c

@@@@@@@ -1401,16 -1392,6 -1355,6 -1392,17 -1392,6 -1392,6 +1364,17 @@@@@@@ static int soc_init_dai_link(struct snd
        return 0;
      }
      
 ++ ++void snd_soc_disconnect_sync(struct device *dev)
 ++ ++{
 ++ ++  struct snd_soc_component *component = snd_soc_lookup_component(dev, NULL);
 ++ ++
 ++ ++  if (!component || !component->card)
 ++ ++          return;
 ++ ++
 ++ ++  snd_card_disconnect_sync(component->card->snd_card);
 ++ ++}
+++ ++EXPORT_SYMBOL_GPL(snd_soc_disconnect_sync);
 ++ ++
      /**
       * snd_soc_add_dai_link - Add a DAI link dynamically
       * @card: The ASoC card to which the DAI link is added