diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2017-10-13 14:22:28 +0200 |
---|---|---|
committer | Geert Uytterhoeven <geert+renesas@glider.be> | 2017-12-14 16:39:43 +0100 |
commit | 744dddcae84441b153101bc23505a1996da5e503 (patch) | |
tree | b5bc6488b00753c75fbbd0518838d240fa21f289 /drivers/gpu/drm/amd/amdgpu/amdgpu_ih.c | |
parent | 64082568dd1e05d349a0d9dfda2bdf6ace3f9f6c (diff) | |
download | linux-744dddcae84441b153101bc23505a1996da5e503.tar.gz linux-744dddcae84441b153101bc23505a1996da5e503.tar.xz |
clk: renesas: mstp: Keep wakeup sources active during system suspend
If a device is part of the CPG/MSTP Clock Domain and to be used as a
wakeup source, it must be kept active during system suspend.
Currently this is handled in device-specific drivers by explicitly
increasing the use count of the module clock when the device is
configured as a wakeup source. However, the proper way to prevent the
device from being stopped is to inform this requirement to the genpd
core, by setting the GENPD_FLAG_ACTIVE_WAKEUP flag.
Note that this will only affect devices configured as wakeup sources.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ih.c')
0 files changed, 0 insertions, 0 deletions