Commit e9f0f4bc authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] Fix suspend with pccardd running

From: Pavel Machek <pavel@ucw.cz>

This fixes suspend when pccards are used...
parent c4df3ccd
......@@ -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 @@ static int pccardd(void *__skt)
}
schedule();
if (current->flags & PF_FREEZE)
refrigerator(PF_IOTHREAD);
if (!skt->thread)
break;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment