The patch titled
     ACPI: suspend: consolidate handling of Sx states addendum
has been added to the -mm tree.  Its filename is
     acpi-suspend-consolidate-handling-of-sx-states-addendum.patch

*** Remember to use Documentation/SubmitChecklist when testing your code ***

See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this

------------------------------------------------------
Subject: ACPI: suspend: consolidate handling of Sx states addendum
From: Frans Pop <[EMAIL PROTECTED]>

Make the S0 state be always reported as supported

Signed-off-by: Frans Pop <[EMAIL PROTECTED]>
Signed-off-by: Rafael J. Wysocki <[EMAIL PROTECTED]>
Cc: Alexey Starikovskiy <[EMAIL PROTECTED]>
Acked-by: "Rafael J. Wysocki" <[EMAIL PROTECTED]>
Cc: Len Brown <[EMAIL PROTECTED]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
---

 drivers/acpi/sleep/main.c |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff -puN 
drivers/acpi/sleep/main.c~acpi-suspend-consolidate-handling-of-sx-states-addendum
 drivers/acpi/sleep/main.c
--- 
a/drivers/acpi/sleep/main.c~acpi-suspend-consolidate-handling-of-sx-states-addendum
+++ a/drivers/acpi/sleep/main.c
@@ -406,9 +406,11 @@ int __init acpi_sleep_init(void)
        if (acpi_disabled)
                return 0;
 
-printk(KERN_INFO PREFIX "(supports");
+       sleep_states[ACPI_STATE_S0] = 1;
+       printk(KERN_INFO PREFIX "(supports S0");
+
 #ifdef CONFIG_SUSPEND
-       for (i = ACPI_STATE_S0; i < ACPI_STATE_S4; i++) {
+       for (i = ACPI_STATE_S1; i < ACPI_STATE_S4; i++) {
                status = acpi_get_sleep_type_data(i, &type_a, &type_b);
                if (ACPI_SUCCESS(status)) {
                        sleep_states[i] = 1;
_

Patches currently in -mm which might be from [EMAIL PROTECTED] are

acpi-suspend-consolidate-handling-of-sx-states-addendum.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to