ACPI / EC: Do not use acpi_set_gpe
authorRafael J. Wysocki <rjw@sisk.pl>
Thu, 24 Jun 2010 23:21:42 +0000 (01:21 +0200)
committerLen Brown <len.brown@intel.com>
Wed, 7 Jul 2010 02:34:27 +0000 (22:34 -0400)
commit3784730b02b9f147a55b0e4623fcad671273e6e6
treecd00f3da44529154938d6c831f1302685a124639
parentb63559f5ce08bc8f94ce144a8d06f7af607ecc53
ACPI / EC: Do not use acpi_set_gpe

The EC driver is the last user of acpi_set_gpe() and since it is
guaranteed that the EC GPE will not be shared, acpi_disable_gpe()
and acpi_enable_gpe() may be used for disabling the GPE temporarilty
if a GPE storm is detected and re-enabling it during EC transactions.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/ec.c