29 Aug
2019
29 Aug
'19
1:03 p.m.
On Tue, 2019-08-27 at 18:13 -0400, Shengjiu Wang wrote:
Use force_suspend/resume to make sure clocks are disabled/enabled accordingly during system suspend/resume.
Signed-off-by: Dong Aisheng aisheng.dong@nxp.com Signed-off-by: Shengjiu Wang shengjiu.wang@nxp.com
Reviewed-by: Daniel Baluta daniel.baluta@nxp.com
sound/soc/codecs/cs42xx8.c | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/sound/soc/codecs/cs42xx8.c b/sound/soc/codecs/cs42xx8.c index 5b049fcdba20..94b1adb088fd 100644 --- a/sound/soc/codecs/cs42xx8.c +++ b/sound/soc/codecs/cs42xx8.c @@ -684,6 +684,8 @@ static int cs42xx8_runtime_suspend(struct device *dev) #endif
const struct dev_pm_ops cs42xx8_pm = {
- SET_SYSTEM_SLEEP_PM_OPS(pm_runtime_force_suspend,
SET_RUNTIME_PM_OPS(cs42xx8_runtime_suspend,pm_runtime_force_resume)
cs42xx8_runtime_resume, NULL) }; EXPORT_SYMBOL_GPL(cs42xx8_pm);