diff options
author | Len Brown <len.brown@intel.com> | 2008-11-12 03:17:26 +0100 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2008-11-12 03:17:26 +0100 |
commit | d1876ba4dead6ace7e9fbf16f83397e6486d0dfe (patch) | |
tree | ecf9a5b65c51ec3c8fd19a1ebe9cf70aac949aaa /drivers/acpi/system.c | |
parent | Merge branch 'processor-256' into release (diff) | |
parent | ACPI: EC: Don't do transaction from GPE handler in poll mode. (diff) | |
download | linux-d1876ba4dead6ace7e9fbf16f83397e6486d0dfe.tar.xz linux-d1876ba4dead6ace7e9fbf16f83397e6486d0dfe.zip |
Merge branch 'ec' into release
Diffstat (limited to 'drivers/acpi/system.c')
-rw-r--r-- | drivers/acpi/system.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/acpi/system.c b/drivers/acpi/system.c index bfc216a11fdd..6e4107f82403 100644 --- a/drivers/acpi/system.c +++ b/drivers/acpi/system.c @@ -398,10 +398,10 @@ static ssize_t counter_set(struct kobject *kobj, if (index < num_gpes) { if (!strcmp(buf, "disable\n") && (status & ACPI_EVENT_FLAG_ENABLED)) - result = acpi_disable_gpe(handle, index, ACPI_NOT_ISR); + result = acpi_disable_gpe(handle, index); else if (!strcmp(buf, "enable\n") && !(status & ACPI_EVENT_FLAG_ENABLED)) - result = acpi_enable_gpe(handle, index, ACPI_NOT_ISR); + result = acpi_enable_gpe(handle, index); else if (!strcmp(buf, "clear\n") && (status & ACPI_EVENT_FLAG_SET)) result = acpi_clear_gpe(handle, index, ACPI_NOT_ISR); |