summaryrefslogtreecommitdiff
path: root/drivers/core/simple-bus.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2023-05-04 16:54:56 -0600
committerBin Meng <bmeng@tinylab.org>2023-05-11 10:25:29 +0800
commitd8062e950367fab0f219a889e8f2fbfade90108c (patch)
tree7fa183802fef4f9a00c57c9106524e68b9743086 /drivers/core/simple-bus.c
parent7a187a89fd96e8f2344b47b7fd4d3a686da66f55 (diff)
input: Flush the keyboard buffer before resetting it
If U-Boot is not the first-stage bootloader the keyboard may already be set up. Make sure to flush any data before trying to reset it. This avoids a long timeout / hang. Add some comments and a log category while we are here. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'drivers/core/simple-bus.c')
0 files changed, 0 insertions, 0 deletions