WORKAROUND: mkbp: Remove KEY_BATTERY from valid keys.
authorTodd Broch <tbroch@chromium.org>
Fri, 19 Apr 2013 17:49:02 +0000 (10:49 -0700)
committerChromeBot <chrome-bot@google.com>
Fri, 19 Apr 2013 20:02:18 +0000 (13:02 -0700)
commit20dd2301234bc0f57018e4b51380e53f652ac30c
tree906f16af939112d824a6e0d36bc2a4efbd2dd20e
parent37f9fe74d31da52e9b7838e7892afa77eab04355
WORKAROUND: mkbp: Remove KEY_BATTERY from valid keys.

  While previous ghosting fix:
    688c20f CHROMIUM: Strengthen ghosting algorithm.

  Did help rule out null keys it was thought it would also correctly
  identify 3 vs. 4 keypresses (sharing row/col) regardless of whether
  key was virtual (KEY_BATTERY) or real.  It does not however.

  This change migrates KEY_BATTERY to invalid key while algorithm is
  further refined.

BUG=chrome-os-partner:18814
TEST=manual
boot Spring plugged after an EC reset and see no ghosting issues for
sequences ctrl + u|w|n|t

Change-Id: I1038a18c353e84a52ad77e44e497c747d310addf
Signed-off-by: Todd Broch <tbroch@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/48674
Reviewed-by: Luigi Semenzato <semenzato@chromium.org>
Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
drivers/input/keyboard/mkbp.c