--- zzzz-none-000/linux-2.6.39.4/drivers/acpi/sleep.c 2011-08-03 19:43:28.000000000 +0000 +++ puma6-atom-6490-729/linux-2.6.39.4/drivers/acpi/sleep.c 2021-11-10 13:38:14.000000000 +0000 @@ -17,6 +17,7 @@ #include #include #include +#include #include @@ -244,6 +245,7 @@ acpi_status status = AE_OK; u32 acpi_state = acpi_target_sleep_state; int error; + unsigned int id; ACPI_FLUSH_CPU_CACHE(); @@ -260,13 +262,13 @@ pr_info(PREFIX "Low-level resume complete\n"); break; } - + intelce_get_soc_info(&id, NULL); /* This violates the spec but is required for bug compatibility. */ - acpi_write_bit_register(ACPI_BITREG_SCI_ENABLE, 1); - + if (CE2600_SOC_DEVICE_ID != id) { + acpi_write_bit_register(ACPI_BITREG_SCI_ENABLE, 1); + } /* Reprogram control registers and execute _BFS */ acpi_leave_sleep_state_prep(acpi_state); - /* ACPI 3.0 specs (P62) says that it's the responsibility * of the OSPM to clear the status bit [ implying that the * POWER_BUTTON event should not reach userspace ]