[alsa-devel] [PATCH 1/1] ASoC: smdk_wm8994: Add .pm to struct smdk_audio_driver

Sachin Kamat sachin.kamat at linaro.org
Wed Oct 16 12:28:48 CEST 2013


Register PM ops for this driver.

Signed-off-by: Sachin Kamat <sachin.kamat at linaro.org>
---
 sound/soc/samsung/smdk_wm8994.c |    2 ++
 1 file changed, 2 insertions(+)

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,
 };
-- 
1.7.9.5



More information about the Alsa-devel mailing list