diff options
author | Rafael J. Wysocki <rjw@sisk.pl> | 2008-02-12 18:32:16 -0500 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2008-02-14 00:28:05 -0500 |
commit | 314ccd644cc14b9ebc1996afbabfb4d108004fd0 (patch) | |
tree | 68db4f58e1212d45946bd207112a1f09d55b08a7 /drivers/acpi/hardware/hwsleep.c | |
parent | b077fbada161479d9a32a7730d2822d5e737b306 (diff) |
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 <mt-ml@gmx.de> for reporting the
problem and debugging.
Reported-by: Mirco Tischler <mt-ml@gmx.de>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/hardware/hwsleep.c')
-rw-r--r-- | 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 058d0be5cbe2..4290e0193097 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) | |||
616 | return_ACPI_STATUS(status); | 616 | return_ACPI_STATUS(status); |
617 | } | 617 | } |
618 | 618 | ||
619 | arg.integer.value = sleep_state; | ||
619 | status = acpi_evaluate_object(NULL, METHOD_NAME__WAK, &arg_list, NULL); | 620 | status = acpi_evaluate_object(NULL, METHOD_NAME__WAK, &arg_list, NULL); |
620 | if (ACPI_FAILURE(status) && status != AE_NOT_FOUND) { | 621 | if (ACPI_FAILURE(status) && status != AE_NOT_FOUND) { |
621 | ACPI_EXCEPTION((AE_INFO, status, "During Method _WAK")); | 622 | ACPI_EXCEPTION((AE_INFO, status, "During Method _WAK")); |