hp-wmi: set initial docking state
authorFrans Pop <elendil@planet.nl>
Thu, 29 Jan 2009 22:25:25 +0000 (14:25 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 30 Jan 2009 02:04:45 +0000 (18:04 -0800)
commit3095eb87bb36ae880608fe3fc46cfd59ced1f319
tree9351ccadae5428e71166f2a5ad51a20f33bc0878
parentfb9f88e1dc76f9feb39d39c40a5d61aad6df4388
hp-wmi: set initial docking state

If the initial state is not set when the input device is set up, the first
docking event after the module is loaded will be lost.

Signed-off-by: Frans Pop <elendil@planet.nl>
Acked-by: Matthew Garrett <mjg59@srcf.ucam.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/platform/x86/hp-wmi.c