diff options
author | Nicolin Chen <b42378@freescale.com> | 2013-10-24 06:15:29 -0400 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2013-10-24 06:22:44 -0400 |
commit | 1abe729f783fece81d93e9a0253fd8079f19d7f6 (patch) | |
tree | 67642b2f5c5b3d8699116d1dc4dc7b4c4fb0294d /sound/soc | |
parent | 67093b253bb09276420c7b0a311425705d2714b4 (diff) |
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 <b42378@freescale.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'sound/soc')
-rw-r--r-- | sound/soc/fsl/imx-mc13783.c | 1 | ||||
-rw-r--r-- | sound/soc/fsl/imx-sgtl5000.c | 1 | ||||
-rw-r--r-- | sound/soc/fsl/imx-wm8962.c | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/sound/soc/fsl/imx-mc13783.c b/sound/soc/fsl/imx-mc13783.c index a2fd7321b5a9..79cee782dbbf 100644 --- a/sound/soc/fsl/imx-mc13783.c +++ b/sound/soc/fsl/imx-mc13783.c | |||
@@ -160,6 +160,7 @@ static struct platform_driver imx_mc13783_audio_driver = { | |||
160 | .driver = { | 160 | .driver = { |
161 | .name = "imx_mc13783", | 161 | .name = "imx_mc13783", |
162 | .owner = THIS_MODULE, | 162 | .owner = THIS_MODULE, |
163 | .pm = &snd_soc_pm_ops, | ||
163 | }, | 164 | }, |
164 | .probe = imx_mc13783_probe, | 165 | .probe = imx_mc13783_probe, |
165 | .remove = imx_mc13783_remove | 166 | .remove = imx_mc13783_remove |
diff --git a/sound/soc/fsl/imx-sgtl5000.c b/sound/soc/fsl/imx-sgtl5000.c index ca1be1d9dcf0..73da709069df 100644 --- a/sound/soc/fsl/imx-sgtl5000.c +++ b/sound/soc/fsl/imx-sgtl5000.c | |||
@@ -202,6 +202,7 @@ static struct platform_driver imx_sgtl5000_driver = { | |||
202 | .driver = { | 202 | .driver = { |
203 | .name = "imx-sgtl5000", | 203 | .name = "imx-sgtl5000", |
204 | .owner = THIS_MODULE, | 204 | .owner = THIS_MODULE, |
205 | .pm = &snd_soc_pm_ops, | ||
205 | .of_match_table = imx_sgtl5000_dt_ids, | 206 | .of_match_table = imx_sgtl5000_dt_ids, |
206 | }, | 207 | }, |
207 | .probe = imx_sgtl5000_probe, | 208 | .probe = imx_sgtl5000_probe, |
diff --git a/sound/soc/fsl/imx-wm8962.c b/sound/soc/fsl/imx-wm8962.c index 722afe69169e..8e5b2c6a16d9 100644 --- a/sound/soc/fsl/imx-wm8962.c +++ b/sound/soc/fsl/imx-wm8962.c | |||
@@ -311,6 +311,7 @@ static struct platform_driver imx_wm8962_driver = { | |||
311 | .driver = { | 311 | .driver = { |
312 | .name = "imx-wm8962", | 312 | .name = "imx-wm8962", |
313 | .owner = THIS_MODULE, | 313 | .owner = THIS_MODULE, |
314 | .pm = &snd_soc_pm_ops, | ||
314 | .of_match_table = imx_wm8962_dt_ids, | 315 | .of_match_table = imx_wm8962_dt_ids, |
315 | }, | 316 | }, |
316 | .probe = imx_wm8962_probe, | 317 | .probe = imx_wm8962_probe, |