From patchwork Tue Jul 26 21:19:24 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: u-boot@lakedaemon.net X-Patchwork-Id: 106940 X-Patchwork-Delegate: marek.vasut@gmail.com 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 643B0B6F8B for ; Wed, 27 Jul 2011 07:19:54 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 6BA2B28186; Tue, 26 Jul 2011 23:19:48 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de 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 j0zgJ4E7VXp6; Tue, 26 Jul 2011 23:19:47 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 7648328165; Tue, 26 Jul 2011 23:19:44 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 4133028168 for ; Tue, 26 Jul 2011 23:19:41 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de 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 EzZNykkSvDEo for ; Tue, 26 Jul 2011 23:19:39 +0200 (CEST) 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 mho-01-ewr.mailhop.org (mho-03-ewr.mailhop.org [204.13.248.66]) by theia.denx.de (Postfix) with ESMTPS id 1A19928165 for ; Tue, 26 Jul 2011 23:19:37 +0200 (CEST) Received: from pool-173-50-93-240.nrflva.fios.verizon.net ([173.50.93.240] helo=titan) by mho-01-ewr.mailhop.org with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1Qlp2M-000Fpo-Vv; Tue, 26 Jul 2011 21:19:35 +0000 Received: from localhost.localdomain (triton.lakedaemon.net [10.16.5.97]) by titan (Postfix) with ESMTP id 254FE2857AF; Tue, 26 Jul 2011 17:19:32 -0400 (EDT) X-Mail-Handler: MailHop Outbound by DynDNS X-Originating-IP: 173.50.93.240 X-Report-Abuse-To: abuse@dyndns.com (see http://www.dyndns.com/services/mailhop/outbound_abuse.html for abuse reporting information) X-MHO-User: U2FsdGVkX1+8FuUneIfg3orL++Pzr0nwGAdn7o+LQcc= From: Jason Cooper To: clint@debian.org, wd@denx.de, prafulla@marvell.com Date: Tue, 26 Jul 2011 21:19:24 +0000 Message-Id: <1311715171-13128-3-git-send-email-u-boot@lakedaemon.net> X-Mailer: git-send-email 1.7.0.4 In-Reply-To: <05ec95501d6c02ffeb1bc38d09fdca99142956a3.1307979826.git.u-boot@lakedaemon.net> References: <05ec95501d6c02ffeb1bc38d09fdca99142956a3.1307979826.git.u-boot@lakedaemon.net> In-Reply-To: <1311714350-12454-1-git-send-email-u-boot@lakedaemon.net> Cc: bdale@gag.com, u-boot@lists.denx.de, akarkare@marvell.com, gores@marvell.com, sarnaik@marvell.com Subject: [U-Boot] RFC [PATCH 3/5] usb: Some EHCI chipsets are slow to respond. X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.9 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 This fixes 'EHCI timed out on TD...' on the dreamplug board. Signed-off-by: Jason Cooper --- include/usb.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/include/usb.h b/include/usb.h index 53603a5..168e2b2 100644 --- a/include/usb.h +++ b/include/usb.h @@ -46,7 +46,7 @@ * This is the timeout to allow for submitting an urb in ms. We allow more * time for a BULK device to react - some are slow. */ -#define USB_TIMEOUT_MS(pipe) (usb_pipebulk(pipe) ? 5000 : 100) +#define USB_TIMEOUT_MS(pipe) (usb_pipebulk(pipe) ? 5000 : 500) /* device request (setup) */ struct devrequest {