Commit de0022d4 authored by Sachin Kamat's avatar Sachin Kamat Committed by Mark Brown

ASoC: smdk_wm8994: Add .pm to struct smdk_audio_driver

Register PM ops for this driver.
Signed-off-by: default avatarSachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: default avatarMark Brown <broonie@linaro.org>
parent d644a115
...@@ -9,6 +9,7 @@ ...@@ -9,6 +9,7 @@
#include "../codecs/wm8994.h" #include "../codecs/wm8994.h"
#include <sound/pcm_params.h> #include <sound/pcm_params.h>
#include <sound/soc.h>
#include <linux/module.h> #include <linux/module.h>
#include <linux/of.h> #include <linux/of.h>
#include <linux/of_device.h> #include <linux/of_device.h>
...@@ -206,6 +207,7 @@ static struct platform_driver smdk_audio_driver = { ...@@ -206,6 +207,7 @@ static struct platform_driver smdk_audio_driver = {
.name = "smdk-audio-wm8894", .name = "smdk-audio-wm8894",
.owner = THIS_MODULE, .owner = THIS_MODULE,
.of_match_table = of_match_ptr(samsung_wm8994_of_match), .of_match_table = of_match_ptr(samsung_wm8994_of_match),
.pm = &snd_soc_pm_ops,
}, },
.probe = smdk_audio_probe, .probe = smdk_audio_probe,
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment