Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b6709057 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "ASoC: dapm: Do not process cpu_dai widgets in bias changes"

parents 86673b11 4d4732cb
Loading
Loading
Loading
Loading
+10 −6
Original line number Diff line number Diff line
@@ -1733,9 +1733,11 @@ static int dapm_power_widgets(struct snd_soc_dapm_context *dapm, int event)
	trace_snd_soc_dapm_walk_done(card);

	/* Run all the bias changes in parallel */
	list_for_each_entry(d, &dapm->card->dapm_list, list)
	list_for_each_entry(d, &dapm->card->dapm_list, list) {
		if (d->codec || d->platform)
			async_schedule_domain(dapm_pre_sequence_async, d,
						&async_domain);
	}
	async_synchronize_full_domain(&async_domain);

	/* Power down widgets first; try to avoid amplifying pops. */
@@ -1747,9 +1749,11 @@ static int dapm_power_widgets(struct snd_soc_dapm_context *dapm, int event)
	dapm_seq_run(dapm, &up_list, event, true);

	/* Run all the bias changes in parallel */
	list_for_each_entry(d, &dapm->card->dapm_list, list)
	list_for_each_entry(d, &dapm->card->dapm_list, list) {
		if (d->codec || d->platform)
			async_schedule_domain(dapm_post_sequence_async, d,
						&async_domain);
	}
	async_synchronize_full_domain(&async_domain);

	/* do we need to notify any clients that DAPM event is complete */