diff options
author | Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> | 2013-10-17 14:01:37 +0400 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2013-10-18 00:35:00 +0100 |
commit | 7db1698f728e1176cc7869f22565e3faa8ec2b72 (patch) | |
tree | 4f55f001e7c9131060c27b3cccbce67587633dd0 /sound/soc/pxa/poodle.c | |
parent | f62aa9b6c900a9aaf302c1f9ac1883c143afd832 (diff) | |
download | linux-stable-7db1698f728e1176cc7869f22565e3faa8ec2b72.tar.gz linux-stable-7db1698f728e1176cc7869f22565e3faa8ec2b72.tar.bz2 linux-stable-7db1698f728e1176cc7869f22565e3faa8ec2b72.zip |
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/poodle.c')
-rw-r--r-- | sound/soc/pxa/poodle.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/pxa/poodle.c b/sound/soc/pxa/poodle.c index fafe46355c31..c93e138d8dc3 100644 --- a/sound/soc/pxa/poodle.c +++ b/sound/soc/pxa/poodle.c @@ -303,6 +303,7 @@ static struct platform_driver poodle_driver = { .driver = { .name = "poodle-audio", .owner = THIS_MODULE, + .pm = &snd_soc_pm_ops, }, .probe = poodle_probe, .remove = poodle_remove, |