summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorZidan Wang <zidan.wang@freescale.com>2015-08-27 16:49:07 +0800
committerNitin Garg <nitin.garg@freescale.com>2015-09-17 09:24:20 -0500
commit8f2ab3c66fc7c859f8ebb5a0987f5619b9c5d1f1 (patch)
tree2e40314d710443d0ecfd6040345259c5200f440a /sound
parentb49f77b4833e7ade9e8b57b5b0a235a9b2c49973 (diff)
MLK-11435 ASoC: fsl_mqs: add snd_soc_pm_ops for mqs machine driver
add snd_soc_pm_ops for mqs machine driver to make the trigger suspend/resume be called in suspend/resume. Signed-off-by: Zidan Wang <zidan.wang@freescale.com>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/fsl/imx-mqs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/fsl/imx-mqs.c b/sound/soc/fsl/imx-mqs.c
index 4e32e425ad96..3b667994bf86 100644
--- a/sound/soc/fsl/imx-mqs.c
+++ b/sound/soc/fsl/imx-mqs.c
@@ -263,6 +263,7 @@ static struct platform_driver imx_mqs_driver = {
.driver = {
.name = "imx-mqs",
.owner = THIS_MODULE,
+ .pm = &snd_soc_pm_ops,
.of_match_table = imx_mqs_dt_ids,
},
.probe = imx_mqs_probe,