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

Commit 28e86808 authored by Mark Brown's avatar Mark Brown
Browse files

ASoC: Use the correct DAPM context when cleaning up final widget set



Now we've got multi-component we need to make sure that the DAPM context
(and hence register I/O context) we use to apply the pending updates at
the end of a DAPM sequence is the one we were processing rather than the
one that was used to initate the state change.

Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: default avatarLiam Girdwood <lrg@slimlogic.co.uk>
parent 823dba51
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -941,7 +941,7 @@ static void dapm_seq_run(struct snd_soc_dapm_context *dapm,
	}

	if (!list_empty(&pending))
		dapm_seq_run_coalesced(dapm, &pending);
		dapm_seq_run_coalesced(cur_dapm, &pending);
}

static void dapm_widget_update(struct snd_soc_dapm_context *dapm)