summaryrefslogtreecommitdiff
path: root/sound/soc/pxa/e800_wm9712.c
diff options
context:
space:
mode:
authorDmitry Eremin-Solenikov <dbaryshkov@gmail.com>2013-10-17 14:01:37 +0400
committerMark Brown <broonie@linaro.org>2013-10-18 03:35:00 +0400
commit7db1698f728e1176cc7869f22565e3faa8ec2b72 (patch)
tree4f55f001e7c9131060c27b3cccbce67587633dd0 /sound/soc/pxa/e800_wm9712.c
parentf62aa9b6c900a9aaf302c1f9ac1883c143afd832 (diff)
downloadlinux-7db1698f728e1176cc7869f22565e3faa8ec2b72.tar.xz
ALSA: ASoC: pxa: add asoc pm callbacks to pxa audio drivers
After convertion to snd_soc_register_card, platform driver should reference snd_soc_pm_ops callbacks to properly suspend/resume sound hardware. This was missed during conversion of PXA sound devices. Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'sound/soc/pxa/e800_wm9712.c')
-rw-r--r--sound/soc/pxa/e800_wm9712.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/pxa/e800_wm9712.c b/sound/soc/pxa/e800_wm9712.c
index 8768a640dd71..3137f800b43f 100644
--- a/sound/soc/pxa/e800_wm9712.c
+++ b/sound/soc/pxa/e800_wm9712.c
@@ -150,6 +150,7 @@ static struct platform_driver e800_driver = {
.driver = {
.name = "e800-audio",
.owner = THIS_MODULE,
+ .pm = &snd_soc_pm_ops,
},
.probe = e800_probe,
.remove = e800_remove,