version 1.255, 2012/09/23 00:31:06 |
version 1.256, 2013/10/16 17:30:42 |
Line 1296 acpi_enter_sleep_state(int state) |
|
Line 1296 acpi_enter_sleep_state(int state) |
|
{ |
{ |
struct acpi_softc *sc = acpi_softc; |
struct acpi_softc *sc = acpi_softc; |
ACPI_STATUS rv; |
ACPI_STATUS rv; |
int err; |
|
|
|
if (acpi_softc == NULL) |
if (acpi_softc == NULL) |
return; |
return; |
Line 1403 acpi_enter_sleep_state(int state) |
|
Line 1402 acpi_enter_sleep_state(int state) |
|
|
|
} else { |
} else { |
|
|
err = acpi_md_sleep(state); |
(void)acpi_md_sleep(state); |
|
|
if (state == ACPI_STATE_S4) |
if (state == ACPI_STATE_S4) |
AcpiEnable(); |
AcpiEnable(); |