ACPI: WMI: Enable event methods when registering notifiers
authorMatthew Garrett <mjg@redhat.com>
Wed, 8 Oct 2008 20:40:32 +0000 (21:40 +0100)
committerLen Brown <len.brown@intel.com>
Wed, 8 Oct 2008 20:56:41 +0000 (16:56 -0400)
commita66bfa7a4726e9cbdc985133af728a4bd9925d96
treee233422ff9a908d756d50a2058c19ab745122498
parent7d9a06de616f69374dab00396f27cf00962a72c9
ACPI: WMI: Enable event methods when registering notifiers

According to the ACPI-WMI spec, event blocks may provide a function call
for enabling/disabling them. This patch adds support for making these
calls when registering or removing notifications. Without this, my Dell
firmware provides no data in the event notification.

Signed-off-by: Matthew Garrett <mjg@redhat.com>
Signed-off-by: Carlos Corbacho <carlos@strangeworlds.co.uk>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/wmi.c