This reverts commit
20dd2301234bc0f57018e4b51380e53f652ac30c.
This temporary workaround eliminated bug introduced by commit:
688c20f CHROMIUM: Strengthen ghosting algorithm.
That CL introduced a bug where the virtual key, KEY_BATTERY, falsely
ghosted to a bunch of other key sequences. That change is also being
reverted.
Change-Id: I6e8959595cba088e6a55d45311fbe9534f3c75f5
Reviewed-on: https://gerrit.chromium.org/gerrit/48787
Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
Commit-Queue: Todd Broch <tbroch@chromium.org>
Tested-by: Todd Broch <tbroch@chromium.org>
for (col = 0; col < MKBP_NUM_COLS; col++) {
for (row = 0; row < MKBP_NUM_ROWS; row++) {
code = mkbp_keycodes[row][col];
- if (code && (code != KEY_BATTERY))
+ if (code)
mkbp_dev->valid_keys[col] |= 1 << row;
}
dev_dbg(mkbp_dev->dev, "valid_keys[%02d] = 0x%02x\n",