diff mbox

[U-Boot] tbs2910: fix lost characters on serial input

Message ID 1417119704-2692-1-git-send-email-smoch@web.de
State Awaiting Upstream
Delegated to: Stefano Babic
Headers show

Commit Message

Sören Moch Nov. 27, 2014, 8:21 p.m. UTC
With enabled console_mux for serial input and usb keyboard sometimes
characters get lost when typing too fast at the serial input (pasting
strings in serial console window). Fix this by using INT_QUEUE for
polling the usb keyboard.

Signed-off-by: Soeren Moch <smoch@web.de>
---
Cc: Stefano Babic <sbabic@denx.de>
---
 include/configs/tbs2910.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Stefano Babic Dec. 1, 2014, 9:37 a.m. UTC | #1
On 27/11/2014 21:21, Soeren Moch wrote:
> With enabled console_mux for serial input and usb keyboard sometimes
> characters get lost when typing too fast at the serial input (pasting
> strings in serial console window). Fix this by using INT_QUEUE for
> polling the usb keyboard.
> 
> Signed-off-by: Soeren Moch <smoch@web.de>
> ---
> Cc: Stefano Babic <sbabic@denx.de>
> ---
>  include/configs/tbs2910.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/include/configs/tbs2910.h b/include/configs/tbs2910.h
> index 6ab2184..c097b98 100644
> --- a/include/configs/tbs2910.h
> +++ b/include/configs/tbs2910.h
> @@ -167,7 +167,7 @@
>  #define CONFIG_USB_STORAGE
>  #define CONFIG_USB_KEYBOARD
>  #ifdef CONFIG_USB_KEYBOARD
> -#define CONFIG_SYS_USB_EVENT_POLL
> +#define CONFIG_SYS_USB_EVENT_POLL_VIA_INT_QUEUE
>  #define CONFIG_SYS_STDIO_DEREGISTER
>  #define CONFIG_PREBOOT "if hdmidet; then usb start; fi"
>  #endif /* CONFIG_USB_KEYBOARD */
> 

Applied to u-boot-imx, thanks !

Best regards,
Stefano Babic
diff mbox

Patch

diff --git a/include/configs/tbs2910.h b/include/configs/tbs2910.h
index 6ab2184..c097b98 100644
--- a/include/configs/tbs2910.h
+++ b/include/configs/tbs2910.h
@@ -167,7 +167,7 @@ 
 #define CONFIG_USB_STORAGE
 #define CONFIG_USB_KEYBOARD
 #ifdef CONFIG_USB_KEYBOARD
-#define CONFIG_SYS_USB_EVENT_POLL
+#define CONFIG_SYS_USB_EVENT_POLL_VIA_INT_QUEUE
 #define CONFIG_SYS_STDIO_DEREGISTER
 #define CONFIG_PREBOOT "if hdmidet; then usb start; fi"
 #endif /* CONFIG_USB_KEYBOARD */