summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorViorel Suman <viorel.suman@nxp.com>2019-05-30 14:25:06 +0300
committerViorel Suman <viorel.suman@nxp.com>2019-05-30 14:26:11 +0300
commit1a6f2e51988d9560cd52f069ca4db24eb5dba513 (patch)
tree228e04027da7cdbad8f3815c8bd5eb6fe658235a
parent8edfd72855e5e1491c6de7c1a1bb4a7063d2f92a (diff)
MLK-18795-1: Revert "MLK-17089-3: ASoC: wm8960: support suspend & resume for imx8"
Clock management is already implemented in wm8960_set_bias_level_out3, there is no need to do it in runtime suspend/resume. Another aspect is that the component_driver.idle_bias_on = 1, because of this codec will be in runtime_resume all the time and runtime_suspend will never be called, with current code the implication of this is that the clock will be enabled all the time even codec not in use. This reverts commit 9fe0c0ed2490635f06782dccc53306a7ac040e10. Signed-off-by: Viorel Suman <viorel.suman@nxp.com>
-rw-r--r--sound/soc/codecs/wm8960.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/soc/codecs/wm8960.c b/sound/soc/codecs/wm8960.c
index 79034c1ab640..590420ab4594 100644
--- a/sound/soc/codecs/wm8960.c
+++ b/sound/soc/codecs/wm8960.c
@@ -1467,7 +1467,6 @@ static int wm8960_runtime_suspend(struct device *dev)
#endif
static const struct dev_pm_ops wm8960_pm = {
- SET_SYSTEM_SLEEP_PM_OPS(pm_runtime_force_suspend, pm_runtime_force_resume)
SET_RUNTIME_PM_OPS(wm8960_runtime_suspend, wm8960_runtime_resume, NULL)
};