]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/acpi/hardware/hwsleep.c
ACPI suspend: Execute _WAK with the right argument
[linux-2.6-omap-h63xx.git] / drivers / acpi / hardware / hwsleep.c
index 058d0be5cbe2983ee747ead0f40b396bfd8f9b66..4290e0193097d28fd2405b814ac0352a0cf5fb93 100644 (file)
@@ -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"));