Skip to content

Commit

Permalink
exynos-pd: set power.must_resume to true in the suspend path
Browse files Browse the repository at this point in the history
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 <[email protected]>
Change-Id: I2c66ae5c201a005d57cf10e7dd98f12f49c17a77
  • Loading branch information
Thierry Strudel authored and TreeHugger Robot committed Jun 8, 2021
1 parent a2c8311 commit 8237216
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/soc/google/exynos-pd.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 8237216

Please sign in to comment.