From: Songjun Wu Date: Tue, 22 Dec 2015 06:06:42 +0000 (+0800) Subject: ASoC: atmel_wm8904: add snd_soc_pm_ops X-Git-Tag: v4.14-rc1~3939^2~37^2~1^2~10^5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=50860e1d17d1bc2f1a2ebfc5042f2af786e53ad6;p=platform%2Fkernel%2Flinux-rpi.git ASoC: atmel_wm8904: add snd_soc_pm_ops Sometimes the audio play can not be resumed after it is suspended. Add snd_soc_pm_ops to execute power management operations, then this issue is fixed. Signed-off-by: Songjun Wu Signed-off-by: Mark Brown --- diff --git a/sound/soc/atmel/atmel_wm8904.c b/sound/soc/atmel/atmel_wm8904.c index 1933bcd..fdd28ed 100644 --- a/sound/soc/atmel/atmel_wm8904.c +++ b/sound/soc/atmel/atmel_wm8904.c @@ -183,6 +183,7 @@ static struct platform_driver atmel_asoc_wm8904_driver = { .driver = { .name = "atmel-wm8904-audio", .of_match_table = of_match_ptr(atmel_asoc_wm8904_dt_ids), + .pm = &snd_soc_pm_ops, }, .probe = atmel_asoc_wm8904_probe, .remove = atmel_asoc_wm8904_remove,