ASoC: samsung: Add missing pm ops for Snow sound card driver
authorTushar Behera <tushar.behera@linaro.org>
Wed, 14 May 2014 03:19:06 +0000 (08:49 +0530)
committerMark Brown <broonie@linaro.org>
Wed, 14 May 2014 11:34:50 +0000 (12:34 +0100)
Adding missing pm ops so that audio playback works across
suspend and resume cycle.

Signed-off-by: Tushar Behera <tushar.behera@linaro.org>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/samsung/snow.c

index 0fa89a41d8c03b52544f7425435857e6c5ee9bcd..014c177840ba05e9066a567e896ebd12452fc5d1 100644 (file)
@@ -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,