* Fix suspend/resume with yenta
@ 2003-07-08 22:41 Pavel Machek
0 siblings, 0 replies; only message in thread
From: Pavel Machek @ 2003-07-08 22:41 UTC (permalink / raw)
To: dahinds, kernel list, Rusty trivial patch monkey Russell
Hi!
This fixes suspend/resume with yenta active. Please apply,
(it is trivial after you look at pcmcia_socket_dev_suspend ;-).
Pavel
--- clean/drivers/pcmcia/yenta_socket.c 2003-07-06 20:07:39.000000000 +0200
+++ linux/drivers/pcmcia/yenta_socket.c 2003-07-09 00:30:21.000000000 +0200
@@ -899,7 +899,10 @@
static int yenta_dev_suspend (struct pci_dev *dev, u32 state)
{
- return pcmcia_socket_dev_suspend(&dev->dev, state, 0);
+ /* FIXME: We should really let devices to act on *all* levels :-(.
+ If you put something else than SUSPEND_SAVE_STATE,
+ pcmcia_socket_dev_suspend() will simply do nothing due to its check. */
+ return pcmcia_socket_dev_suspend(&dev->dev, state, SUSPEND_SAVE_STATE);
}
--
When do you have a heart between your knees?
[Johanka's followup: and *two* hearts?]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-07-08 22:36 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-08 22:41 Fix suspend/resume with yenta Pavel Machek
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®