]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
ACPI / AC: change notification handler type to ACPI_ALL_NOTIFY
authorAlexander Mezin <mezin.alexander@gmail.com>
Sat, 4 Jan 2014 02:07:59 +0000 (09:07 +0700)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Sun, 5 Jan 2014 14:42:42 +0000 (15:42 +0100)
commit50a2bc5429f07ec4d53df2d287b03bdbceb281bb
tree8f6c5df7562559fde37201b0ff047796b624ac04
parentd6e0a2dd12f4067a5bcefb8bbd8ddbeff800afbc
ACPI / AC: change notification handler type to ACPI_ALL_NOTIFY

With kernel 3.13rc5 there are no AC adapter notifications on my laptop.

Commit cc8ef5270734 "ACPI / AC: convert ACPI ac driver to platform bus"
changed the driver to listen to device notifications only. However, AML
code on my laptop notifies the driver with zero event.

This patch changes the driver to listen to all events again.

Fixes: cc8ef5270734 (ACPI / AC: convert ACPI ac driver to platform bus)
References: https://bugzilla.kernel.org/show_bug.cgi?id=67821
Signed-off-by: Alexander Mezin <mezin.alexander@gmail.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/ac.c