public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* swsusp: do not disable platform swsusp because S4bios is available
@ 2004-08-17 11:05 Pavel Machek
  0 siblings, 0 replies; only message in thread
From: Pavel Machek @ 2004-08-17 11:05 UTC (permalink / raw)
  To: Andrew Morton, kernel list, Patrick Mochel

Hi!

Currently, when both S4 and S4bios are available, swsusp always
chooses S4bios and makes S4 unavailable. Bad idea as S4bios needs
completely different setup.... Please apply,
								Pavel

--- clean-mm/drivers/acpi/sleep/main.c	2004-08-17 12:21:43.000000000 +0200
+++ linux-mm/drivers/acpi/sleep/main.c	2004-08-17 12:22:45.000000000 +0200
@@ -217,7 +217,8 @@
 				sleep_states[i] = 1;
 				printk(" S4bios");
 				acpi_pm_ops.pm_disk_mode = PM_DISK_FIRMWARE;
-			} else if (sleep_states[i])
+			} 
+			if (sleep_states[i])
 				acpi_pm_ops.pm_disk_mode = PM_DISK_PLATFORM;
 		}
 	}

-- 
People were complaining that M$ turns users into beta-testers...
...jr ghea gurz vagb qrirybcref, naq gurl frrz gb yvxr vg gung jnl!

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-08-17 11:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-08-17 11:05 swsusp: do not disable platform swsusp because S4bios is available Pavel Machek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox