]> err.no Git - linux-2.6/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)
commit23de5d9ef2a4bbc4f733f58311bcb7cf6239c813
treea781cebb71c5ea3b5a6750ac48cb57aaad32aac4
parent1dbc1fda5d8ca907f320b806005d4a447977d26a
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