From: Christian Gmeiner Date: Thu, 21 Nov 2019 11:10:24 +0100 Subject: [U-Boot] [PATCH] usb: increase USB control timeout value Message-ID: <20191121101024.159574-1-christian.gmeiner@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Increase USB control timeout value to 5000 milliseconds, matching the value used in Linux kernel. This improves communication stability with some USB devices. In the concrete case a Apacer AP8GAH322B gets not deteced in a silent console configuration. Signed-off-by: Christian Gmeiner --- include/usb.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/usb.h b/include/usb.h index bcad552f85..cd3f1d8225 100644 --- a/include/usb.h +++ b/include/usb.h @@ -38,7 +38,7 @@ #define USB_MAXCHILDREN 8 /* This is arbitrary */ #define USB_MAX_HUB 16 -#define USB_CNTL_TIMEOUT 100 /* 100ms timeout */ +#define USB_CNTL_TIMEOUT 5000 /* 5000ms timeout */ /* * This is the timeout to allow for submitting an urb in ms. We allow more -- 2.23.0