提交 43ac9469 编写于 作者: Z Zidan Wang 提交者: Mark Brown

ASoC: imx-spdif: add snd_soc_pm_ops for spdif machine driver

Add snd_soc_pm_ops in machine driver to make the trigger suspend/resume
be called in suspend/resume.
Signed-off-by: NZidan Wang <zidan.wang@freescale.com>
Signed-off-by: NMark Brown <broonie@kernel.org>
上级 6ff33f39
...@@ -89,6 +89,7 @@ MODULE_DEVICE_TABLE(of, imx_spdif_dt_ids); ...@@ -89,6 +89,7 @@ MODULE_DEVICE_TABLE(of, imx_spdif_dt_ids);
static struct platform_driver imx_spdif_driver = { static struct platform_driver imx_spdif_driver = {
.driver = { .driver = {
.name = "imx-spdif", .name = "imx-spdif",
.pm = &snd_soc_pm_ops,
.of_match_table = imx_spdif_dt_ids, .of_match_table = imx_spdif_dt_ids,
}, },
.probe = imx_spdif_audio_probe, .probe = imx_spdif_audio_probe,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册