From: Mark Brown Date: Fri, 5 Jan 2018 12:43:44 +0000 (+0000) Subject: Merge remote-tracking branches 'asoc/topic/dai-drv', 'asoc/topic/davinci', 'asoc... X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=747c9084272f8cc9d445d026fbc889c099c4a3a2;p=linux.git Merge remote-tracking branches 'asoc/topic/dai-drv', 'asoc/topic/davinci', 'asoc/topic/disconnect', 'asoc/topic/ep93xx' and 'asoc/topic/eukrea-tlv320' into asoc-next --- 747c9084272f8cc9d445d026fbc889c099c4a3a2 diff --cc sound/soc/soc-core.c index 724b35671aa6b,6a13fbcba23f3,c0edac80df34e,345baa4f10c0d,c0edac80df34e,c0edac80df34e..d1f7e639d5b1c --- a/sound/soc/soc-core.c +++ b/sound/soc/soc-core.c @@@@@@@ -1392,16 -1392,6 -1392,6 -1392,17 -1392,6 -1392,6 +1392,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