From: Rodney Lorrimar Date: Mon, 5 May 2008 15:59:24 +0000 (-0400) Subject: Input: adbhid - capslock and power button fix X-Git-Tag: v2.6.27-rc1~958^2~43 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5b7c407baa9501e49ebd3b6eac30cd4bcb60ca9d;p=pandora-kernel.git Input: adbhid - capslock and power button fix If the adbhid module parameter restore_capslock_events is used, pressing the power button may confuse the capslock state. This is because the power button release scancode (0xff) is sometimes the same as the capslock press/release scancode. This fix adds yet another flag to track the state of the power button so that it works independently of capslock. Signed-off-by: Rodney Lorrimar Signed-off-by: Dmitry Torokhov --- Reading git-diff-tree failed