提交 1abe729f 编写于 作者: N Nicolin Chen 提交者: Mark Brown

ASoC: fsl: Add missing pm to current machine drivers

Add missing pm to current machine drivers so that all of them would
correctly do suspend/resume.
Signed-off-by: NNicolin Chen <b42378@freescale.com>
Signed-off-by: NMark Brown <broonie@linaro.org>
上级 67093b25
...@@ -160,6 +160,7 @@ static struct platform_driver imx_mc13783_audio_driver = { ...@@ -160,6 +160,7 @@ static struct platform_driver imx_mc13783_audio_driver = {
.driver = { .driver = {
.name = "imx_mc13783", .name = "imx_mc13783",
.owner = THIS_MODULE, .owner = THIS_MODULE,
.pm = &snd_soc_pm_ops,
}, },
.probe = imx_mc13783_probe, .probe = imx_mc13783_probe,
.remove = imx_mc13783_remove .remove = imx_mc13783_remove
......
...@@ -202,6 +202,7 @@ static struct platform_driver imx_sgtl5000_driver = { ...@@ -202,6 +202,7 @@ static struct platform_driver imx_sgtl5000_driver = {
.driver = { .driver = {
.name = "imx-sgtl5000", .name = "imx-sgtl5000",
.owner = THIS_MODULE, .owner = THIS_MODULE,
.pm = &snd_soc_pm_ops,
.of_match_table = imx_sgtl5000_dt_ids, .of_match_table = imx_sgtl5000_dt_ids,
}, },
.probe = imx_sgtl5000_probe, .probe = imx_sgtl5000_probe,
......
...@@ -311,6 +311,7 @@ static struct platform_driver imx_wm8962_driver = { ...@@ -311,6 +311,7 @@ static struct platform_driver imx_wm8962_driver = {
.driver = { .driver = {
.name = "imx-wm8962", .name = "imx-wm8962",
.owner = THIS_MODULE, .owner = THIS_MODULE,
.pm = &snd_soc_pm_ops,
.of_match_table = imx_wm8962_dt_ids, .of_match_table = imx_wm8962_dt_ids,
}, },
.probe = imx_wm8962_probe, .probe = imx_wm8962_probe,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册