提交 c2caa4da 编写于 作者: M Mark Brown

ASoC: Fix widget powerdown on shutdown

We need to set the widget power state we want to implement.
Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
上级 e3c7dbb0
...@@ -2045,6 +2045,7 @@ void snd_soc_dapm_shutdown(struct snd_soc_device *socdev) ...@@ -2045,6 +2045,7 @@ void snd_soc_dapm_shutdown(struct snd_soc_device *socdev)
list_for_each_entry(w, &codec->dapm_widgets, list) { list_for_each_entry(w, &codec->dapm_widgets, list) {
if (w->power) { if (w->power) {
dapm_seq_insert(w, &down_list, dapm_down_seq); dapm_seq_insert(w, &down_list, dapm_down_seq);
w->power = 0;
powerdown = 1; powerdown = 1;
} }
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册