diff options
author | Zidan Wang <zidan.wang@freescale.com> | 2015-10-12 17:37:09 +0800 |
---|---|---|
committer | Zidan Wang <zidan.wang@freescale.com> | 2015-10-14 10:43:28 +0800 |
commit | deee257ca5fdb3b275ea99f8bb3ca2e79417284a (patch) | |
tree | 40f657ae76e179c6091c98168c7c0c1a204596fe /sound | |
parent | 5ea11cb2ddfcbdc918b2efc736401d72e580235e (diff) |
MLK-11570-01 mfd: wm8994: fix kernel dump when enter suspend state
Revert "MLK-11411 ASoC: wm8994-core: add suspend/resume support"
When playback a wav, pm runtime resume will be called to enable
regulators. And when stop a wav, pm runtime suspend will be called
to disable regulators.
We are using the same suspend/resume function for runtime and system
sleep pm. When enter suspend state without playback a wav, the pm
runtime resume will not be called, so the regulator will not be
enabled, but system sleep suspend will be called to disable regulator,
it will cause unbalanced disable for regulator.
In order to fix kernel dump issue and sound distorted after resume back
from suspend issue, we'd better remove the system sleep pm, and restore
the register values in codec driver suspend/resume.
This reverts commit 897a5298b10c32f2ec15b8c2660e272e458c2cf6.
Signed-off-by: Zidan Wang <zidan.wang@freescale.com>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions