projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0fc1e4e
)
MLK-17089-6: ASoC: wm8962: support suspend & resume for imx8
author
Shengjiu Wang
<shengjiu.wang@nxp.com>
Wed, 6 Dec 2017 02:48:20 +0000
(10:48 +0800)
committer
Nitin Garg
<nitin.garg@nxp.com>
Tue, 20 Mar 2018 19:50:18 +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/wm8962.c
patch
|
blob
|
history
diff --git
a/sound/soc/codecs/wm8962.c
b/sound/soc/codecs/wm8962.c
index
e96eddf
..
f25c6ba
100644
(file)
--- a/
sound/soc/codecs/wm8962.c
+++ b/
sound/soc/codecs/wm8962.c
@@
-3879,6
+3879,7
@@
static int wm8962_runtime_suspend(struct device *dev)
#endif
static const struct dev_pm_ops wm8962_pm = {
+ SET_SYSTEM_SLEEP_PM_OPS(pm_runtime_force_suspend, pm_runtime_force_resume)
SET_RUNTIME_PM_OPS(wm8962_runtime_suspend, wm8962_runtime_resume, NULL)
};