aboutsummaryrefslogtreecommitdiff
path: root/include/linux/hw_random.h
diff options
context:
space:
mode:
authorRafael J. Wysocki <rjw@sisk.pl>2009-09-29 00:11:03 +0200
committerRafael J. Wysocki <rjw@sisk.pl>2009-09-29 00:11:03 +0200
commit0c570cdeb8fdfcb354a3e9cd81bfc6a09c19de0c (patch)
treec03720a154e5f29bd7cbd94c880d2daeda2451a6 /include/linux/hw_random.h
parent827b4649d4626bf97b203b4bcd69476bb9b4e760 (diff)
PM / yenta: Fix cardbus suspend/resume regression
Since 2.6.29 the PCI PM core have been restoring the standard configuration registers of PCI devices in the early phase of resume. In particular, PCI devices without drivers have been handled this way since commit 355a72d75b3b4f4877db4c9070c798238028ecb5 (PCI: Rework default handling of suspend and resume). Unfortunately, this leads to post-resume problems with CardBus devices which cannot be accessed in the early phase of resume, because the sockets they are on have not been woken up yet at that point. To solve this problem, move the yenta socket resume to the early phase of resume and, analogously, move the suspend of it to the late phase of suspend. Additionally, remove some unnecessary PCI code from the yenta socket's resume routine. Fixes http://bugzilla.kernel.org/show_bug.cgi?id=13092, which is a post-2.6.28 regression. Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl> Reported-by: Florian <fs-kernelbugzilla@spline.de> Cc: stable@kernel.org
Diffstat (limited to 'include/linux/hw_random.h')
0 files changed, 0 insertions, 0 deletions