From 8237216f377e15bdd534eedc54ffb1233611689d Mon Sep 17 00:00:00 2001 From: Thierry Strudel Date: Mon, 7 Jun 2021 15:56:55 -0700 Subject: [PATCH] exynos-pd: set power.must_resume to true in the suspend path driver relies on matching pair of calls to suspend and resume. Need to set the power.must_resume status bit to true to avoid skipping resume. Bug: 187963504 Signed-off-by: Thierry Strudel Change-Id: I2c66ae5c201a005d57cf10e7dd98f12f49c17a77 --- drivers/soc/google/exynos-pd.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/soc/google/exynos-pd.c b/drivers/soc/google/exynos-pd.c index de042c1a8482..e9dc56ecebcb 100644 --- a/drivers/soc/google/exynos-pd.c +++ b/drivers/soc/google/exynos-pd.c @@ -353,6 +353,8 @@ static int exynos_pd_suspend_late(struct device *dev) pr_debug("%s: %s is %s\n", __func__, pd->name, exynos_pd_status(pd) ? "on" : "off"); + dev->power.must_resume = true; + return 0; }