projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3f02a3a
)
MLK-17089-3: ASoC: wm8960: support suspend & resume for imx8
author
Shengjiu Wang
<shengjiu.wang@nxp.com>
Wed, 6 Dec 2017 03:41:03 +0000
(11:41 +0800)
committer
Nitin Garg
<nitin.garg@nxp.com>
Tue, 20 Mar 2018 19:50:16 +0000
(14:50 -0500)
Base on latest power management design in MLK-17074, every driver
need to enter runtime suspend state in suspend, so the driver should
call the pm_runtime_force_suspend in suspend.
Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
sound/soc/codecs/wm8960.c
patch
|
blob
|
history
diff --git
a/sound/soc/codecs/wm8960.c
b/sound/soc/codecs/wm8960.c
index
0c6beed
..
540665b
100644
(file)
--- a/
sound/soc/codecs/wm8960.c
+++ b/
sound/soc/codecs/wm8960.c
@@
-1473,6
+1473,7
@@
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)
};