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

Commit c2caa4da authored by Mark Brown's avatar Mark Brown
Browse files

ASoC: Fix widget powerdown on shutdown



We need to set the widget power state we want to implement.

Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent e3c7dbb0
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -2045,6 +2045,7 @@ void snd_soc_dapm_shutdown(struct snd_soc_device *socdev)
	list_for_each_entry(w, &codec->dapm_widgets, list) {
		if (w->power) {
			dapm_seq_insert(w, &down_list, dapm_down_seq);
			w->power = 0;
			powerdown = 1;
		}
	}