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

Commit 534cc577 authored by Gopikrishnaiah Anandan's avatar Gopikrishnaiah Anandan
Browse files

ASoC: core: Skip suspending widgets with ignore flag



For wigdets which have set the suspend ignore flag asoc framework
shouldn't mark them as dirty when ASoC suspend function is called.
This change adds check to skip suspending the widgets with the flag set.

CRs-fixed: 643516
Change-Id: Ie4206ef28d415e9b62356d8f34d6d79b39222143
Signed-off-by: default avatarGopikrishnaiah Anandan <agopik@codeaurora.org>
parent 8c0c40d9
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -151,6 +151,8 @@ void dapm_mark_io_dirty(struct snd_soc_dapm_context *dapm)
	mutex_lock(&card->dapm_mutex);

	list_for_each_entry(w, &card->widgets, list) {
		if (w->ignore_suspend)
			continue;
		switch (w->id) {
		case snd_soc_dapm_input:
		case snd_soc_dapm_output: