diff options
author | Louis Yung-Chieh Lo <yjlou@chromium.org> | 2013-07-23 18:02:46 +0800 |
---|---|---|
committer | ChromeBot <chrome-bot@google.com> | 2013-07-23 17:37:51 -0700 |
commit | a1699727a83758defb2e80deab59d34a18bfe581 (patch) | |
tree | c9a563be8bb3d9270b86dfc98bb9d9493e182e2d /include/util.h | |
parent | b702babbb7ae1c9c225e9937f4a7656d36151310 (diff) | |
download | chrome-ec-a1699727a83758defb2e80deab59d34a18bfe581.tar.gz |
Fixed two i8042 bugs.
1. The buffer for host i8042 command is too small so that a command
is dropped (buffer full) in some cases. Enlarging it can solve bug.
2. The keystrokes are queued in buffer so that kernel driver cannot
get stable CTR value. We workaround this by disabling the keystroke
and clearing buffer when keyboard is disabled.
BUG=chrome-os-partner:20758
BRANCH=falco,link
TEST=Verified on link. Repeatedly press Ctrl + U during booting.
The keyboard is working after boot.
Change-Id: I7d8daef8d815b8e4d08df6f6a26ab2a471e5b150
Signed-off-by: Louis Yung-Chieh Lo <yjlou@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/62986
Reviewed-by: Duncan Laurie <dlaurie@chromium.org>
Reviewed-by: Randall Spangler <rspangler@chromium.org>
Commit-Queue: Duncan Laurie <dlaurie@chromium.org>
Tested-by: Duncan Laurie <dlaurie@chromium.org>
Diffstat (limited to 'include/util.h')
0 files changed, 0 insertions, 0 deletions