On Mon, Mar 27, 2023 at 12:16 PM Simon Glass <s...@chromium.org> wrote:
>
> 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 <s...@chromium.org>
> ---
>
> (no changes since v2)
>
> Changes in v2:
> - Flush the buffer instead of skipping the reset
>
>  drivers/input/i8042.c | 19 +++++++++++++++++++
>  1 file changed, 19 insertions(+)
>

Reviewed-by: Bin Meng <bmeng...@gmail.com>

Reply via email to