From: Len Brown Date: Sun, 15 Aug 2010 04:25:40 +0000 (-0400) Subject: Merge branch 'acpica-gpe' into release X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=c172cb73bc79fe69915b1a1a48e374aa4b1f8a59;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git Merge branch 'acpica-gpe' into release --- c172cb73bc79fe69915b1a1a48e374aa4b1f8a59 diff --cc drivers/acpi/wakeup.c index dc6d1d9112fb,c80537bc3234..f62a50c3ed34 --- a/drivers/acpi/wakeup.c +++ b/drivers/acpi/wakeup.c @@@ -40,12 -69,9 +41,12 @@@ void acpi_enable_wakeup_devices(u8 slee || sleep_state > (u32) dev->wakeup.sleep_state) continue; + if (dev->wakeup.state.enabled) + acpi_enable_wakeup_device_power(dev, sleep_state); + /* The wake-up power should have been enabled already. */ - acpi_enable_gpe(dev->wakeup.gpe_device, dev->wakeup.gpe_number, - ACPI_GPE_TYPE_WAKE); + acpi_gpe_wakeup(dev->wakeup.gpe_device, dev->wakeup.gpe_number, + ACPI_GPE_ENABLE); } }