]> git.baikalelectronics.ru Git - kernel.git/commit
PM / yenta: Split resume into early and late parts (rev. 4)
authorRafael J. Wysocki <rjw@sisk.pl>
Tue, 3 Nov 2009 09:54:58 +0000 (10:54 +0100)
committerRafael J. Wysocki <rjw@sisk.pl>
Tue, 3 Nov 2009 09:54:58 +0000 (10:54 +0100)
commit43bf0b38ee06d128812d35ce9798336b3bad0d25
tree8257b26f4b3d7c2b8be082233ac9c294b5387f8b
parent2eb8b05f1bad924f5879f2676664e38bbb8188b0
PM / yenta: Split resume into early and late parts (rev. 4)

Commit 7b7cfb436ec2566edeea9d0634a5708db397ecb0
(PM / yenta: Fix cardbus suspend/resume regression) caused resume to
fail on systems with two CardBus bridges.  While the exact nature
of the failure is not known at the moment, it can be worked around by
splitting the yenta resume into an early part, executed during the
early phase of resume, that will only resume the socket and power it
up if there was a card in it during suspend, and a late part,
executed during "regular" resume, that will carry out all of the
remaining yenta resume operations.

Fixes http://bugzilla.kernel.org/show_bug.cgi?id=14334, which is a
listed regression from 2.6.31.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Acked-by: Dominik Brodowski <linux@dominikbrodowski.net>
Reported-by: Stephen J. Gowdy <gowdy@cern.ch>
Tested-by: Jose Marino <braket@hotmail.com>
drivers/pcmcia/cs.c
drivers/pcmcia/yenta_socket.c
include/pcmcia/ss.h