hp-wmi: notify of a potential docking state change on resume
authorFrans Pop <elendil@planet.nl>
Wed, 4 Mar 2009 19:55:28 +0000 (11:55 -0800)
committerLen Brown <len.brown@intel.com>
Mon, 16 Mar 2009 03:45:28 +0000 (23:45 -0400)
It is possible that the system gets docked or undocked while it's
suspended. Generate an input event on resume to notify user space
if there was a state change.

As it is a switch, we can generate the event unconditionally; the
input layer will only pass it on if there is an actual change.

Signed-off-by: Frans Pop <elendil@planet.nl>
Cc: Matthew Garrett <mjg59@srcf.ucam.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Len Brown <len.brown@intel.com>

No differences found