summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-10-16 15:58:48 +0530
committerMark Brown <broonie@linaro.org>2013-10-16 12:59:12 +0100
commitde0022d4bf3a5acaef75cf1c7c2f8d71b020e8c9 (patch)
tree185d5800cbc0691a06b8565a8a5ec73ad30a4237
parentd644a115e86433abbb544808c4be1e4b5a048c2b (diff)
downloadop-kernel-dev-de0022d4bf3a5acaef75cf1c7c2f8d71b020e8c9.zip
op-kernel-dev-de0022d4bf3a5acaef75cf1c7c2f8d71b020e8c9.tar.gz
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>
-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 831972d..b072bd1 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,
};
OpenPOWER on IntegriCloud