From: Frans Pop Date: Wed, 4 Mar 2009 19:55:28 +0000 (-0800) Subject: hp-wmi: notify of a potential docking state change on resume X-Git-Tag: v2.6.30-rc1~199^2~19^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4c395bdd3f2ca8f7e8efad881e16071182c3b8ca;p=pandora-kernel.git hp-wmi: notify of a potential docking state change on resume 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 Cc: Matthew Garrett Signed-off-by: Andrew Morton Signed-off-by: Len Brown --- Reading git-diff-tree failed