diff options
author | Sameer Pujar <spujar@nvidia.com> | 2019-03-22 13:13:05 +0100 |
---|---|---|
committer | Marc Zyngier <marc.zyngier@arm.com> | 2019-04-29 16:45:01 +0200 |
commit | 960164f7141e8a974035db9ab03d93f46656ea81 (patch) | |
tree | 1236ecd5355be46c57e052197867bd08bb77fa74 /drivers/iio | |
parent | irqchip/gic-pm: Update driver to use clk_bulk APIs (diff) | |
download | linux-960164f7141e8a974035db9ab03d93f46656ea81.tar.xz linux-960164f7141e8a974035db9ab03d93f46656ea81.zip |
irqchip/gic-pm: Fix suspend handling
If interrupts are enabled for a non-root GIC device that uses the
gic-pm driver, when system suspend occurs, the current interrupt
state is not saved and restored correctly and so interrupts do not
work again on resuming the system. Add a late suspend handler to
save and restore the state for these devices.
Suggested-by: Jonathan Hunter <jonathanh@nvidia.com>
Signed-off-by: Sameer Pujar <spujar@nvidia.com>
Reviewed-by: Jon Hunter <jonathanh@nvidia.com>
Tested-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Diffstat (limited to 'drivers/iio')
0 files changed, 0 insertions, 0 deletions