Skip to content

Commit

Permalink
ASoC: Fix widget powerdown on shutdown
Browse files Browse the repository at this point in the history
We need to set the widget power state we want to implement.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
  • Loading branch information
Mark Brown committed Jun 26, 2009
1 parent e3c7dbb commit c2caa4d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sound/soc/soc-dapm.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
Expand Down

0 comments on commit c2caa4d

Please sign in to comment.