From: Mark Brown Date: Fri, 26 Jan 2018 15:27:09 +0000 (+0000) Subject: Merge remote-tracking branches 'asoc/topic/davinci', 'asoc/topic/debugfs', 'asoc... X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=6c6afea22d0ab6294f596712cfc49198e2ef38f7;p=openwrt%2Fstaging%2Fblogic.git Merge remote-tracking branches 'asoc/topic/davinci', 'asoc/topic/debugfs', 'asoc/topic/disconnect', 'asoc/topic/dmic' and 'asoc/topic/ep93xx' into asoc-next --- 6c6afea22d0ab6294f596712cfc49198e2ef38f7 diff --cc sound/soc/soc-core.c index 01fd7c472ea4,c0edac80df34,7b582112e3fc,345baa4f10c0,c0edac80df34,c0edac80df34..9c7b78558979 --- a/sound/soc/soc-core.c +++ b/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