Rafael J. Wysocki cbbc0de700 ACPI: Use GPE reference counting to support shared GPEs
To fix a bug and address the reviewers' comments regarding the ACPI
GPE refcounting patch, do the following additional changes:

o Remove the second argument of acpi_ev_enable_gpe(),
  'write_to_hardware', because it is not necessary any more.

o Add the "bad parameter" test against 'type' in
  acpi_enable_gpe() and acpi_disable_gpe().

o Make acpi_enable_gpe() only check 'status' for runtime GPEs if
  acpi_ev_enable_gpe() was actually called.

o Make acpi_disable_gpe() return 'status' returned by
  acpi_ev_disable_gpe() and fix a bug where ACPI_GPE_TYPE_WAKE
  and ACPI_GPE_TYPE_RUNTIME were exchanged by mistake.

o Add comments explaining why acpi_set_gpe() is used by the ACPI EC
  driver.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
2010-02-24 14:25:23 -08:00
..
2009-01-09 03:31:01 -05:00
2009-01-09 03:31:01 -05:00
2009-01-09 03:31:01 -05:00
2009-01-09 03:31:01 -05:00
2009-01-09 03:31:01 -05:00
2009-01-09 03:31:01 -05:00
2009-01-09 03:31:01 -05:00
2009-01-09 03:31:01 -05:00
2009-01-09 03:31:01 -05:00
2009-01-09 03:31:01 -05:00
2009-03-27 12:11:03 -04:00
2009-05-27 00:30:49 -04:00
2009-01-09 03:31:01 -05:00
2009-01-09 03:31:01 -05:00
2009-01-09 03:31:01 -05:00
2009-01-09 03:31:01 -05:00
2009-01-09 03:31:01 -05:00
2009-01-09 03:31:01 -05:00
2009-01-09 03:31:01 -05:00
2009-01-09 03:31:01 -05:00
2009-01-09 03:31:01 -05:00
2009-01-09 03:31:01 -05:00
2009-01-09 03:31:01 -05:00
2009-01-09 03:31:01 -05:00
2009-01-09 03:31:01 -05:00
2009-01-09 03:31:01 -05:00
2009-01-09 03:31:01 -05:00
2009-09-20 20:18:57 +02:00
2009-01-09 03:31:01 -05:00
2009-05-27 00:30:49 -04:00
2009-04-05 02:14:15 -04:00
2009-01-09 03:31:01 -05:00
2009-01-09 03:31:01 -05:00
2009-01-09 03:31:01 -05:00
2009-01-09 03:31:01 -05:00