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 0fa89a4..014c177 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,