From: Mark Brown Date: Fri, 12 Jan 2018 12:29:05 +0000 (+0000) Subject: Merge remote-tracking branches 'asoc/topic/da7218', 'asoc/topic/dai-drv', 'asoc/topic... X-Git-Tag: v4.19~1622^2~5^5~14 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=da7b34f80edfd7fe81ca6d13ab5493e559e01e8b;p=platform%2Fkernel%2Flinux-rpi3.git Merge remote-tracking branches 'asoc/topic/da7218', 'asoc/topic/dai-drv', 'asoc/topic/davinci', 'asoc/topic/disconnect' and 'asoc/topic/ep93xx' into asoc-next --- da7b34f80edfd7fe81ca6d13ab5493e559e01e8b diff --cc sound/soc/soc-core.c index 724b356,c0edac8,6a13fbc,c0edac8,345baa4,c0edac8..d1f7e63 --- a/sound/soc/soc-core.c +++ b/sound/soc/soc-core.c @@@@@@@ -1392,16 -1392,6 -1392,6 -1392,6 -1392,17 -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