diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2009-06-26 15:36:56 +0100 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2009-06-26 15:36:56 +0100 |
commit | c2caa4da46a41899b29f90ec30ef3ba86665b334 (patch) | |
tree | 72737c14487c9681cc18712b13340f32028cd890 /sound/soc/soc-dapm.c | |
parent | e3c7dbb07cde886ba97f183c4cc98a2a99b46eaa (diff) |
ASoC: Fix widget powerdown on shutdown
We need to set the widget power state we want to implement.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/soc-dapm.c')
-rw-r--r-- | sound/soc/soc-dapm.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; } } |