|
@@ -1516,6 +1516,12 @@ static int dapm_power_widgets(struct snd_soc_dapm_context *dapm, int event)
|
|
|
&async_domain);
|
|
|
async_synchronize_full_domain(&async_domain);
|
|
|
|
|
|
+ /* do we need to notify any clients that DAPM event is complete */
|
|
|
+ list_for_each_entry(d, &card->dapm_list, list) {
|
|
|
+ if (d->stream_event)
|
|
|
+ d->stream_event(d, event);
|
|
|
+ }
|
|
|
+
|
|
|
pop_dbg(dapm->dev, card->pop_time,
|
|
|
"DAPM sequencing finished, waiting %dms\n", card->pop_time);
|
|
|
pop_wait(card->pop_time);
|
|
@@ -2854,10 +2860,6 @@ static void soc_dapm_stream_event(struct snd_soc_dapm_context *dapm,
|
|
|
}
|
|
|
|
|
|
dapm_power_widgets(dapm, event);
|
|
|
-
|
|
|
- /* do we need to notify any clients that DAPM stream is complete */
|
|
|
- if (dapm->stream_event)
|
|
|
- dapm->stream_event(dapm, event);
|
|
|
}
|
|
|
|
|
|
/**
|