]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
asus-laptop: notify ALL events
authorCorentin Chary <corentincj@iksaif.net>
Sun, 6 May 2007 12:46:41 +0000 (14:46 +0200)
committerLen Brown <len.brown@intel.com>
Thu, 10 May 2007 06:40:22 +0000 (02:40 -0400)
We need to handle all events, because some dsdt use events >= 0x80

Signed-off-by: Corentin Chary <corentincj@iksaif.net>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/misc/asus-laptop.c

index 65c32a95e121360d3288e95fc5b96792538084ad..dfec565ffa8220b189d725d3c9f79f9ab12da915 100644 (file)
@@ -950,7 +950,7 @@ static int asus_hotk_add(struct acpi_device *device)
         * We install the handler, it will receive the hotk in parameter, so, we
         * could add other data to the hotk struct
         */
-       status = acpi_install_notify_handler(hotk->handle, ACPI_SYSTEM_NOTIFY,
+       status = acpi_install_notify_handler(hotk->handle, ACPI_ALL_NOTIFY,
                                             asus_hotk_notify, hotk);
        if (ACPI_FAILURE(status))
                printk(ASUS_ERR "Error installing notify handler\n");
@@ -997,7 +997,7 @@ static int asus_hotk_remove(struct acpi_device *device, int type)
        if (!device || !acpi_driver_data(device))
                return -EINVAL;
 
-       status = acpi_remove_notify_handler(hotk->handle, ACPI_SYSTEM_NOTIFY,
+       status = acpi_remove_notify_handler(hotk->handle, ACPI_ALL_NOTIFY,
                                            asus_hotk_notify);
        if (ACPI_FAILURE(status))
                printk(ASUS_ERR "Error removing notify handler\n");