提交 50860e1d 编写于 作者: S Songjun Wu 提交者: Mark Brown

ASoC: atmel_wm8904: add snd_soc_pm_ops

Sometimes the audio play can not be resumed after it is
suspended. Add snd_soc_pm_ops to execute power management
operations, then this issue is fixed.
Signed-off-by: NSongjun Wu <songjun.wu@atmel.com>
Signed-off-by: NMark Brown <broonie@kernel.org>
上级 4bc5145c
...@@ -183,6 +183,7 @@ static struct platform_driver atmel_asoc_wm8904_driver = { ...@@ -183,6 +183,7 @@ static struct platform_driver atmel_asoc_wm8904_driver = {
.driver = { .driver = {
.name = "atmel-wm8904-audio", .name = "atmel-wm8904-audio",
.of_match_table = of_match_ptr(atmel_asoc_wm8904_dt_ids), .of_match_table = of_match_ptr(atmel_asoc_wm8904_dt_ids),
.pm = &snd_soc_pm_ops,
}, },
.probe = atmel_asoc_wm8904_probe, .probe = atmel_asoc_wm8904_probe,
.remove = atmel_asoc_wm8904_remove, .remove = atmel_asoc_wm8904_remove,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册