ASoC: fsl: Add missing pm to current machine drivers
Subsystems (4)
PATCH 1/1 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 Nicolin Chen <[email protected]>
--- sound/soc/fsl/imx-mc13783.c | 1 + sound/soc/fsl/imx-sgtl5000.c | 1 + sound/soc/fsl/imx-wm8962.c | 1 + 3 files changed, 3 insertions(+)
sound/soc/fsl/imx-mc13783.c +1 -0
@@ -160,6 +160,7 @@ static struct platform_driver imx_mc13783_audio_driver = { .driver = { .name = "imx_mc13783", .owner = THIS_MODULE, + .pm = &snd_soc_pm_ops, }, .probe = imx_mc13783_probe, .remove = imx_mc13783_remove
sound/soc/fsl/imx-sgtl5000.c +1 -0
@@ -201,6 +201,7 @@ static struct platform_driver imx_sgtl5000_driver = { .driver = { .name = "imx-sgtl5000", .owner = THIS_MODULE, + .pm = &snd_soc_pm_ops, .of_match_table = imx_sgtl5000_dt_ids, }, .probe = imx_sgtl5000_probe,
sound/soc/fsl/imx-wm8962.c +1 -0
@@ -310,6 +310,7 @@ static struct platform_driver imx_wm8962_driver = { .driver = { .name = "imx-wm8962", .owner = THIS_MODULE, + .pm = &snd_soc_pm_ops, .of_match_table = imx_wm8962_dt_ids, }, .probe = imx_wm8962_probe,
Signature · 1 line
1.8.4
Quoted 2 lines · Nicolin Chen
Add missing pm to current machine drivers so that all of them would correctly do suspend/resume.
Applied all, thanks.