diff options
author | Ulf Hansson <ulf.hansson@linaro.org> | 2016-05-30 11:33:14 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2016-06-16 15:14:37 +0200 |
commit | 122a22377a3d8cc11cf18b20db13b02d5aad1a38 (patch) | |
tree | f74a8e04b0fc737ca7c556994bbd270afc2f4902 /include/linux/pm_domain.h | |
parent | 4d23a5e84806b202d9231929c9507ef7cf7a0185 (diff) |
PM / Domains: Stop/start devices during system PM suspend/resume in genpd
Not all subsystems/drivers that manages devices attached to a genpd
makes use of the pm_runtime_force_suspend|resume() helper functions
to deal with system PM suspend/resume.
In cases like these and when genpd's ->stop|start() callbacks are
used for the device, invoke the pm_runtime_force_suspend|resume()
helper functions from genpd's "noirq" system PM callbacks. In this
way we make sure to "stop" the device on suspend and to "start" it
on resume.
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Reviewed-by: Kevin Hilman <khilman@baylibre.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'include/linux/pm_domain.h')
0 files changed, 0 insertions, 0 deletions