]> git.baikalelectronics.ru Git - kernel.git/commit
ACPI: button: send initial lid state after add and resume
authorAlexey Starikovskiy <astarikovskiy@suse.de>
Mon, 22 Oct 2007 10:18:18 +0000 (14:18 +0400)
committerLen Brown <len.brown@intel.com>
Thu, 25 Oct 2007 20:31:30 +0000 (16:31 -0400)
commita5d84457f3f79bb67d66180f3f609d66a80e12bf
treea781cebb71c5ea3b5a6750ac48cb57aaad32aac4
parente070a7a91a98a389ecfab99e288830ec1292423f
ACPI: button: send initial lid state after add and resume

Input layer should know about initial state of lid switch,
even before first notify.

Reference: https://bugzilla.novell.com/show_bug.cgi?id=326814

Signed-off-by: Alexey Starikovskiy <astarikovskiy@suse.de>
Acked-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/button.c