aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/pxa/ttc-dkb.c
diff options
context:
space:
mode:
authorDmitry Eremin-Solenikov <dbaryshkov@gmail.com>2013-10-17 06:01:37 -0400
committerMark Brown <broonie@linaro.org>2013-10-17 19:35:00 -0400
commit7db1698f728e1176cc7869f22565e3faa8ec2b72 (patch)
tree4f55f001e7c9131060c27b3cccbce67587633dd0 /sound/soc/pxa/ttc-dkb.c
parentf62aa9b6c900a9aaf302c1f9ac1883c143afd832 (diff)
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/ttc-dkb.c')
-rw-r--r--sound/soc/pxa/ttc-dkb.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/pxa/ttc-dkb.c b/sound/soc/pxa/ttc-dkb.c
index 13c9ee0cb83b..0b535b570622 100644
--- a/sound/soc/pxa/ttc-dkb.c
+++ b/sound/soc/pxa/ttc-dkb.c
@@ -160,6 +160,7 @@ static struct platform_driver ttc_dkb_driver = {
160 .driver = { 160 .driver = {
161 .name = "ttc-dkb-audio", 161 .name = "ttc-dkb-audio",
162 .owner = THIS_MODULE, 162 .owner = THIS_MODULE,
163 .pm = &snd_soc_pm_ops,
163 }, 164 },
164 .probe = ttc_dkb_probe, 165 .probe = ttc_dkb_probe,
165 .remove = ttc_dkb_remove, 166 .remove = ttc_dkb_remove,