diff options
author | Songjun Wu <songjun.wu@atmel.com> | 2015-12-22 07:06:42 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-12-23 01:04:45 +0100 |
commit | 50860e1d17d1bc2f1a2ebfc5042f2af786e53ad6 (patch) | |
tree | 281b2064d9dda7dab10a3221b04293d0c9115fed /sound/soc/atmel | |
parent | ASoC: atmel-classd: DT binding for PDMIC driver (diff) | |
download | linux-50860e1d17d1bc2f1a2ebfc5042f2af786e53ad6.tar.xz linux-50860e1d17d1bc2f1a2ebfc5042f2af786e53ad6.zip |
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 <songjun.wu@atmel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/atmel')
-rw-r--r-- | sound/soc/atmel/atmel_wm8904.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/atmel/atmel_wm8904.c b/sound/soc/atmel/atmel_wm8904.c index 1933bcd46cca..fdd28ed3e0b9 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, |