Rafael J. Wysocki
9d3c752de6
ACPI / ACPICA: Fix sysfs GPE interface
...
The sysfs interface allowing user space to disable/enable GPEs
doesn't work correctly, because a GPE disabled this way will be
re-enabled shortly by acpi_ev_asynch_enable_gpe() if it was
previosuly enabled by acpi_enable_gpe() (in which case the
corresponding bit in its enable register's enable_for_run mask is
set).
To address this issue make the sysfs GPE interface use
acpi_enable_gpe() and acpi_disable_gpe() instead of acpi_set_gpe()
so that GPE reference counters are modified by it along with the
values of GPE enable registers.
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Len Brown <len.brown@intel.com>
2010-06-12 00:45:28 -04:00
..
2010-06-12 00:45:19 -04:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-04-06 17:06:22 -04:00
2009-12-22 02:39:24 -05:00
2010-04-20 10:43:16 -04:00
2010-03-30 22:02:32 +09:00
2009-08-28 19:57:27 -04:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-04-06 17:06:22 -04:00
2010-04-06 17:06:22 -04:00
2010-03-30 22:02:32 +09:00
2009-12-16 00:07:10 -05:00
2010-03-30 22:02:32 +09:00
2009-11-04 13:06:25 -08:00
Merge branches 'battery-2.6.34', 'bugzilla-10805', 'bugzilla-14668', 'bugzilla-531916-power-state', 'ht-warn-2.6.34', 'pnp', 'processor-rename', 'sony-2.6.34', 'suse-bugzilla-531547', 'tz-check', 'video' and 'misc-2.6.34' into release
2010-03-14 21:30:17 -04:00
2009-10-09 13:14:51 -04:00
2010-03-14 21:17:17 -04:00
2010-04-04 00:50:01 -04:00
2010-04-06 17:06:22 -04:00
2010-02-22 16:21:02 -08:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-02-04 11:55:46 +01:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-01-15 23:06:44 -05:00
2010-03-30 22:02:32 +09:00
2008-12-31 01:15:00 -05:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2007-12-14 15:14:06 -05:00
2010-04-20 10:43:16 -04:00
Merge branches 'battery-2.6.34', 'bugzilla-10805', 'bugzilla-14668', 'bugzilla-531916-power-state', 'ht-warn-2.6.34', 'pnp', 'processor-rename', 'sony-2.6.34', 'suse-bugzilla-531547', 'tz-check', 'video' and 'misc-2.6.34' into release
2010-03-14 21:30:17 -04:00
2009-04-07 00:02:40 -04:00
2010-06-12 00:45:28 -04:00
2010-02-18 03:49:38 -05:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2009-12-09 19:57:06 -08:00
2010-04-06 17:06:22 -04:00
2010-02-22 16:20:51 -08:00