mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
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>
This commit is contained in:
parent
e3c7dbb07c
commit
c2caa4da46
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue