ACPI / button: Add ACPI Button event via netlink routine
authorLan Tianyu <tianyu.lan@intel.com>
Sat, 15 Mar 2014 17:37:13 +0000 (13:37 -0400)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 19 Mar 2014 01:06:15 +0000 (02:06 +0100)
commit0bf6368ee8f25826d0645c0f7a4f17c8845356a4
tree389a2b2f9f0eb8e7d69433078771c2807e3950c8
parentdcb99fd9b08cfe1afe426af4d8d3cbc429190f15
ACPI / button: Add ACPI Button event via netlink routine

Commit 1696d9d (ACPI: Remove the old /proc/acpi/event interface)
removed ACPI Button event which originally was sent to userspace via
/proc/acpi/event. This caused ACPI shutdown regression on gentoo
in VirtualBox. Now ACPI events are sent to userspace via netlink,
so add ACPI Button event back via netlink routine.

References: https://bugzilla.kernel.org/show_bug.cgi?id=71721
Reported-and-tested-by: Richard Musil <richard.musil@gmail.com>
Signed-off-by: Lan Tianyu <tianyu.lan@intel.com>
Cc: 3.11+ <stable@vger.kernel.org> # 3.11+
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/button.c