alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/4] ASoC: imx-spdif: add snd_soc_pm_ops for spdif machine driver
@ 2015-09-18  9:18 Zidan Wang
  2015-09-18  9:19 ` [PATCH 2/4] ASoC: wm8962: remove 64k sample rate support Zidan Wang
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: Zidan Wang @ 2015-09-18  9:18 UTC (permalink / raw)
  To: broonie; +Cc: nicoleotsuka, alsa-devel, Zidan Wang

Add snd_soc_pm_ops in machine driver to make the trigger suspend/resume
be called in suspend/resume.

Signed-off-by: Zidan Wang <zidan.wang@freescale.com>
---
 sound/soc/fsl/imx-spdif.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sound/soc/fsl/imx-spdif.c b/sound/soc/fsl/imx-spdif.c
index 33da26a..a407e83 100644
--- a/sound/soc/fsl/imx-spdif.c
+++ b/sound/soc/fsl/imx-spdif.c
@@ -89,6 +89,7 @@ MODULE_DEVICE_TABLE(of, imx_spdif_dt_ids);
 static struct platform_driver imx_spdif_driver = {
 	.driver = {
 		.name = "imx-spdif",
+		.pm = &snd_soc_pm_ops,
 		.of_match_table = imx_spdif_dt_ids,
 	},
 	.probe = imx_spdif_audio_probe,
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2015-10-05 16:45 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-18  9:18 [PATCH 1/4] ASoC: imx-spdif: add snd_soc_pm_ops for spdif machine driver Zidan Wang
2015-09-18  9:19 ` [PATCH 2/4] ASoC: wm8962: remove 64k sample rate support Zidan Wang
2015-09-18 12:50   ` Charles Keepax
2015-09-20  0:13   ` Applied "ASoC: wm8962: remove 64k sample rate support" to the asoc tree Mark Brown
2015-09-18  9:19 ` [PATCH 3/4] ASoC: si476x: add startup/shutdown to powerup/down si476x Zidan Wang
2015-09-18  9:19 ` [PATCH 4/4] ASoC: wm8960: correct the max register value of mic boost pga Zidan Wang
2015-09-18 12:57   ` Charles Keepax
2015-09-19 14:50   ` Mark Brown
2015-09-20  0:13   ` Applied "ASoC: wm8960: correct the max register value of mic boost pga" to the asoc tree Mark Brown
2015-10-05 16:44 ` Applied "ASoC: imx-spdif: add snd_soc_pm_ops for spdif machine driver" " Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).