From: Zidan Wang <zidan.wang@freescale.com>
To: broonie@kernel.org
Cc: nicoleotsuka@gmail.com, alsa-devel@alsa-project.org,
Zidan Wang <zidan.wang@freescale.com>
Subject: [PATCH 1/4] ASoC: imx-spdif: add snd_soc_pm_ops for spdif machine driver
Date: Fri, 18 Sep 2015 17:18:48 +0800 [thread overview]
Message-ID: <4c1fe5d2fa0ae6cf85e9be8b3b8a52feaae7d75b.1442566367.git.zidan.wang@freescale.com> (raw)
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
next reply other threads:[~2015-09-18 9:17 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-18 9:18 Zidan Wang [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4c1fe5d2fa0ae6cf85e9be8b3b8a52feaae7d75b.1442566367.git.zidan.wang@freescale.com \
--to=zidan.wang@freescale.com \
--cc=alsa-devel@alsa-project.org \
--cc=broonie@kernel.org \
--cc=nicoleotsuka@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.