From: Mark Brown Date: Fri, 26 Jun 2009 14:36:56 +0000 (+0100) Subject: ASoC: Fix widget powerdown on shutdown X-Git-Tag: firefly_0821_release~12446^2~83^2~103 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=c2caa4da46a41899b29f90ec30ef3ba86665b334;p=firefly-linux-kernel-4.4.55.git ASoC: Fix widget powerdown on shutdown We need to set the widget power state we want to implement. Signed-off-by: Mark Brown --- diff --git a/sound/soc/soc-dapm.c b/sound/soc/soc-dapm.c index b9129efeedf3..5157ec110cfa 100644 --- a/sound/soc/soc-dapm.c +++ b/sound/soc/soc-dapm.c @@ -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; } }