From: Stefan <[EMAIL PROTECTED]>

In platform swsusp mode, we were forgetting to spin disks down,
leading to ugly emergency shutdown. This synchronizes platform method
with other methods and actually helps. Please apply,

                                                                Pavel

Signed-off-by: Pavel Machek <[EMAIL PROTECTED]>

--- linux/kernel/power/disk.c-orig      2005-03-01 09:50:51.000000000 +0100
+++ linux/kernel/power/disk.c   2005-03-01 09:57:29.000000000 +0100
@@ -56,7 +56,7 @@ static void power_down(suspend_disk_meth
        local_irq_save(flags);
        switch(mode) {
        case PM_DISK_PLATFORM:
-               device_power_down(PMSG_SUSPEND);
+               device_shutdown();
                error = pm_ops->enter(PM_SUSPEND_DISK);
                break;
        case PM_DISK_SHUTDOWN:


-- 
People were complaining that M$ turns users into beta-testers...
...jr ghea gurz vagb qrirybcref, naq gurl frrz gb yvxr vg gung jnl!
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to