Explicit DAPM syncs are likely to cause DAPM state updates, as are mixer
and mux configuration changes, so display the DAPM status after them too.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
path->connect = 0; /* old connection must be powered down */
}
path->connect = 0; /* old connection must be powered down */
}
dapm_power_widgets(widget->codec, SND_SOC_DAPM_STREAM_NOP);
dapm_power_widgets(widget->codec, SND_SOC_DAPM_STREAM_NOP);
+ dump_dapm(widget->codec, "mux power update");
+ }
dapm_power_widgets(widget->codec, SND_SOC_DAPM_STREAM_NOP);
dapm_power_widgets(widget->codec, SND_SOC_DAPM_STREAM_NOP);
+ dump_dapm(widget->codec, "mixer power update");
+ }
*/
int snd_soc_dapm_sync(struct snd_soc_codec *codec)
{
*/
int snd_soc_dapm_sync(struct snd_soc_codec *codec)
{
- return dapm_power_widgets(codec, SND_SOC_DAPM_STREAM_NOP);
+ int ret = dapm_power_widgets(codec, SND_SOC_DAPM_STREAM_NOP);
+ dump_dapm(codec, "sync");
+ return ret;
}
EXPORT_SYMBOL_GPL(snd_soc_dapm_sync);
}
EXPORT_SYMBOL_GPL(snd_soc_dapm_sync);