diff options
author | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2015-07-17 13:43:18 +0200 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2015-10-14 14:32:20 +0200 |
commit | 83e9d5d2d45e518deb8cb843bd2e41548c6bb9b2 (patch) | |
tree | b15c94450a4253b4514db6c2cdada6860c3a2437 /lib | |
parent | 98733791e8ea9f700ce2c6feedcbeb7c4703359e (diff) | |
download | linux-83e9d5d2d45e518deb8cb843bd2e41548c6bb9b2.tar.gz |
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 'lib')
0 files changed, 0 insertions, 0 deletions