BUTTERFLY-FIRMWARE: drop: i8042: Fix Caps Lock behaviour

The i8042 code seems to deal with Caps Lock incorrectly, in that it
processes it as a numeric keypad key. Since it is not in range this
can cause an out-of-bound array access to us_kbd_numkey*[].

TEST=confirm caps causes no KB buffer issues on Butterfly.

Change-Id: I88dd9dab464a14c77de14e81424e219c8bad446f
Original-Change-Id: I97a346098837b8fd992878100b84e3ceec523d0b
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/38768
Commit-Ready: Shawn Nematbakhsh <shawnn@google.com>
Tested-by: Shawn Nematbakhsh <shawnn@google.com>
1 file changed