mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Fix suspend with pccardd running
@ 2003-05-28 21:27 Pavel Machek
  2003-05-28 22:51 ` Felipe Alfaro Solana
  0 siblings, 1 reply; 2+ messages in thread
From: Pavel Machek @ 2003-05-28 21:27 UTC (permalink / raw)
  To: kernel list, Rusty trivial patch monkey Russell, dahinds

Hi!

This fixes suspend when pccards are used... Please apply,

							Pavel

--- /usr/src/tmp/linux/drivers/pcmcia/cs.c	2003-05-27 13:43:10.000000000 +0200
+++ /usr/src/linux/drivers/pcmcia/cs.c	2003-05-28 23:09:47.000000000 +0200
@@ -48,6 +48,7 @@
 #include <linux/pm.h>
 #include <linux/pci.h>
 #include <linux/device.h>
+#include <linux/suspend.h>
 #include <asm/system.h>
 #include <asm/irq.h>
 
@@ -783,6 +784,9 @@
 		}
 
 		schedule();
+		if (current->flags & PF_FREEZE)
+			refrigerator(PF_IOTHREAD);
+
 		if (!skt->thread)
 			break;
 	}

-- 
When do you have a heart between your knees?
[Johanka's followup: and *two* hearts?]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-05-28 22:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-28 21:27 Fix suspend with pccardd running Pavel Machek
2003-05-28 22:51 ` Felipe Alfaro Solana

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®