From patchwork Thu Nov 27 20:21:44 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?S=C3=B6ren_Moch?= X-Patchwork-Id: 415631 X-Patchwork-Delegate: sbabic@denx.de Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id DEFC01401EB for ; Fri, 28 Nov 2014 07:22:04 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 823B64B77D; Thu, 27 Nov 2014 21:22:02 +0100 (CET) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NkJ5tbpC+nHS; Thu, 27 Nov 2014 21:22:02 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id C35C84B773; Thu, 27 Nov 2014 21:22:01 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 811604B773 for ; Thu, 27 Nov 2014 21:21:56 +0100 (CET) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ghHh8OjSpDiv for ; Thu, 27 Nov 2014 21:21:56 +0100 (CET) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from mout.web.de (mout.web.de [212.227.17.11]) by theia.denx.de (Postfix) with ESMTPS id 586844B76F for ; Thu, 27 Nov 2014 21:21:52 +0100 (CET) Received: from platinum.vid.mst.uni-hannover.de ([130.75.30.51]) by smtp.web.de (mrweb103) with ESMTPSA (Nemesis) id 0Lpf3q-1YN6rJ3uFi-00fQzr; Thu, 27 Nov 2014 21:21:52 +0100 From: Soeren Moch To: u-boot@lists.denx.de Date: Thu, 27 Nov 2014 21:21:44 +0100 Message-Id: <1417119704-2692-1-git-send-email-smoch@web.de> X-Mailer: git-send-email 1.9.1 X-Provags-ID: V03:K0:KKILJ9dqusAyzduQfmfYxwNXv3uSwQ3fvy+OBMXLxpWjIiGfDfi pTkRVRPSIp+r6NKTywM88XhZ5szK9tp0SMunHdxOc4i4y8yg/LO1rEPEXX5UmgzFwxgIIXj Wu+5+dkB1iz3DRC8TSH09k2827ZZUq47exIA7tORo9x2fkzdG3ir9QGVRaHpRWMRNPu9p/3 pQQIuTkO4Kc8sISMAxcng== X-UI-Out-Filterresults: notjunk:1; Cc: Soeren Moch Subject: [U-Boot] [PATCH] tbs2910: fix lost characters on serial input X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.13 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de 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 --- Cc: Stefano Babic --- 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 */