diff options
author | Rafael J. Wysocki <rjw@sisk.pl> | 2009-09-29 00:11:03 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rjw@sisk.pl> | 2009-09-29 00:11:03 +0200 |
commit | 0c570cdeb8fdfcb354a3e9cd81bfc6a09c19de0c (patch) | |
tree | c03720a154e5f29bd7cbd94c880d2daeda2451a6 /fs/fat | |
parent | 827b4649d4626bf97b203b4bcd69476bb9b4e760 (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 'fs/fat')
0 files changed, 0 insertions, 0 deletions