summaryrefslogtreecommitdiff
path: root/LICENSES/GPL-2.0-only.txt
diff options
context:
space:
mode:
authorNico Huber <nico.h@gmx.de>2020-11-01 19:49:55 +0100
committerHung-Te Lin <hungte@chromium.org>2020-12-24 08:19:18 +0000
commit828f6b428e541363b386d579afc1740059d01739 (patch)
tree9045d11c331e60d3686c054b2c7ff756e391d768 /LICENSES/GPL-2.0-only.txt
parentf7faac151abfedca5f56d7587edf4e54030f8015 (diff)
libpayload/keyboard: Avoid races around input draining
Draining the keyboard's buffer is only possible when the keyboard port is enabled. We should also disable input scanning before, as the buffer could be filled again with new keystrokes otherwise. Change-Id: Ibac9c0d04880ff4a3efda5ac53da2f9731f6602c Signed-off-by: Nico Huber <nico.h@gmx.de> Reviewed-on: https://review.coreboot.org/c/coreboot/+/47085 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'LICENSES/GPL-2.0-only.txt')
0 files changed, 0 insertions, 0 deletions