diff options
author | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2015-07-17 11:43:18 (GMT) |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2015-10-14 12:32:20 (GMT) |
commit | 83e9d5d2d45e518deb8cb843bd2e41548c6bb9b2 (patch) | |
tree | b15c94450a4253b4514db6c2cdada6860c3a2437 /arch | |
parent | 98733791e8ea9f700ce2c6feedcbeb7c4703359e (diff) | |
download | linux-83e9d5d2d45e518deb8cb843bd2e41548c6bb9b2.tar.xz |
s390/zcrypt: fix suspend/resume of AP bus devices
If there are no devices on the AP bus there will not be a single
call to the per-device ap_bus_suspend function. Even worse,
there will not be a call to the per-device ap_bus_resume either
and the AP will fail so resume correctly.
Introduce a bus specific dev_pm_ops to suspend / resume the AP
bus related things. While we are at it, simplify the power management
code of the AP bus.
Reviewd-by: Ingo Tuchscherer <ingo.tuchscherer@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions