diff mbox

ASoC: samsung: Add missing pm ops for Snow sound card driver

Message ID 1400037546-20395-1-git-send-email-tushar.behera@linaro.org
State Accepted
Commit deeaa686b9381ff9a66e599af57976ba7e54ec54
Headers show

Commit Message

Tushar Behera May 14, 2014, 3:19 a.m. UTC
Adding missing pm ops so that audio playback works across
suspend and resume cycle.

Signed-off-by: Tushar Behera <tushar.behera@linaro.org>
---
 sound/soc/samsung/snow.c |    1 +
 1 file changed, 1 insertion(+)

Comments

Mark Brown May 14, 2014, 11:35 a.m. UTC | #1
On Wed, May 14, 2014 at 08:49:06AM +0530, Tushar Behera wrote:
> Adding missing pm ops so that audio playback works across
> suspend and resume cycle.

Applied, thanks.
diff mbox

Patch

diff --git a/sound/soc/samsung/snow.c b/sound/soc/samsung/snow.c
index 0fa89a4..014c177 100644
--- a/sound/soc/samsung/snow.c
+++ b/sound/soc/samsung/snow.c
@@ -111,6 +111,7 @@  static struct platform_driver snow_driver = {
 	.driver = {
 		.name = "snow-audio",
 		.owner = THIS_MODULE,
+		.pm = &snd_soc_pm_ops,
 		.of_match_table = snow_of_match,
 	},
 	.probe = snow_probe,