Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=314ccd644cc14b9ebc1996afbabfb4d108004fd0
Commit:     314ccd644cc14b9ebc1996afbabfb4d108004fd0
Parent:     b077fbada161479d9a32a7730d2822d5e737b306
Author:     Rafael J. Wysocki <[EMAIL PROTECTED]>
AuthorDate: Wed Feb 13 00:32:16 2008 +0100
Committer:  Len Brown <[EMAIL PROTECTED]>
CommitDate: Thu Feb 14 00:28:05 2008 -0500

    ACPI suspend: Execute _WAK with the right argument
    
    The _WAK global ACPI control method has to be called with the
    argument representing the sleep state being exited.  Make it happen.
    
    Special thanks to Mirco Tischler <[EMAIL PROTECTED]> for reporting the
    problem and debugging.
    
    Reported-by: Mirco Tischler <[EMAIL PROTECTED]>
    Signed-off-by: Rafael J. Wysocki <[EMAIL PROTECTED]>
    Signed-off-by: Len Brown <[EMAIL PROTECTED]>
---
 drivers/acpi/hardware/hwsleep.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/acpi/hardware/hwsleep.c b/drivers/acpi/hardware/hwsleep.c
index 058d0be..4290e01 100644
--- a/drivers/acpi/hardware/hwsleep.c
+++ b/drivers/acpi/hardware/hwsleep.c
@@ -616,6 +616,7 @@ acpi_status acpi_leave_sleep_state(u8 sleep_state)
                return_ACPI_STATUS(status);
        }
 
+       arg.integer.value = sleep_state;
        status = acpi_evaluate_object(NULL, METHOD_NAME__WAK, &arg_list, NULL);
        if (ACPI_FAILURE(status) && status != AE_NOT_FOUND) {
                ACPI_EXCEPTION((AE_INFO, status, "During Method _WAK"));
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to