summaryrefslogtreecommitdiffstats
path: root/sound/soc/samsung
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-10-16 12:28:48 +0200
committerMark Brown <broonie@linaro.org>2013-10-16 13:59:12 +0200
commitde0022d4bf3a5acaef75cf1c7c2f8d71b020e8c9 (patch)
tree185d5800cbc0691a06b8565a8a5ec73ad30a4237 /sound/soc/samsung
parentASoC: samsung-i2s: Use devm_snd_soc_register_component() (diff)
downloadlinux-de0022d4bf3a5acaef75cf1c7c2f8d71b020e8c9.tar.xz
linux-de0022d4bf3a5acaef75cf1c7c2f8d71b020e8c9.zip
ASoC: smdk_wm8994: Add .pm to struct smdk_audio_driver
Register PM ops for this driver. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'sound/soc/samsung')
-rw-r--r--sound/soc/samsung/smdk_wm8994.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/samsung/smdk_wm8994.c b/sound/soc/samsung/smdk_wm8994.c
index 831972d24fb9..b072bd107b31 100644
--- a/sound/soc/samsung/smdk_wm8994.c
+++ b/sound/soc/samsung/smdk_wm8994.c
@@ -9,6 +9,7 @@
#include "../codecs/wm8994.h"
#include <sound/pcm_params.h>
+#include <sound/soc.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/of_device.h>
@@ -206,6 +207,7 @@ static struct platform_driver smdk_audio_driver = {
.name = "smdk-audio-wm8894",
.owner = THIS_MODULE,
.of_match_table = of_match_ptr(samsung_wm8994_of_match),
+ .pm = &snd_soc_pm_ops,
},
.probe = smdk_audio_probe,
};