]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ACPI: Always report a sync event after a lid state change
authorGuillem Jover <guillem.jover@nokia.com>
Thu, 23 Oct 2008 21:28:33 +0000 (00:28 +0300)
committerLen Brown <len.brown@intel.com>
Sat, 25 Oct 2008 08:07:12 +0000 (04:07 -0400)
commitdf316e939100e789b3c5d4d102619ccf5834bd00
tree91ec46a160ce6a66cb6c2600d3f385a43ad991b7
parent16be87ea170ae6cfaa9f47f79d14f7577d8cb420
ACPI: Always report a sync event after a lid state change

Currently not always an EV_SYN event is reported to userland
after the EV_SW SW_LID event has been sent. This is easy to verify
by using “input-events” from input-utils and just closing and opening
the lid.

Signed-off-by: Guillem Jover <guillem.jover@nokia.com>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/button.c