projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ff33f3
)
ASoC: imx-spdif: add snd_soc_pm_ops for spdif machine driver
author
Zidan Wang
<zidan.wang@freescale.com>
Fri, 18 Sep 2015 09:18:48 +0000
(17:18 +0800)
committer
Mark Brown
<broonie@kernel.org>
Mon, 5 Oct 2015 16:25:45 +0000
(17:25 +0100)
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>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/fsl/imx-spdif.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/soc/fsl/imx-spdif.c
b/sound/soc/fsl/imx-spdif.c
index 33da26a1245718f4b6e814bb22e04218ecc340fc..a407e833c612523e90c07a732e9cc472b64252ee 100644
(file)
--- 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,