Re: [PATCH v3 03/16] input: Flush the keyboard buffer before resetting it

2023-05-04 Thread Bin Meng
On Mon, Mar 27, 2023 at 12:16 PM Simon Glass 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. > > Sign

[PATCH v3 03/16] input: Flush the keyboard buffer before resetting it

2023-03-26 Thread Simon Glass
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 --- (no changes since v2) Changes in v2: