From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Warren Date: Thu, 10 Mar 2016 17:06:15 -0700 Subject: [U-Boot] [PATCH 1/6] usb: legacy_hub_port_reset(): Speedup hub reset handling In-Reply-To: <1457625012-1268-2-git-send-email-sr@denx.de> References: <1457625012-1268-1-git-send-email-sr@denx.de> <1457625012-1268-2-git-send-email-sr@denx.de> Message-ID: <56E20BF7.5070302@wwwdotorg.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 03/10/2016 08:50 AM, Stefan Roese wrote: > Start with a short USB hub reset delay of 10ms. This can be enough for > some configurations. > > The 2nd delay at the of the loop is completely removed. Since the delay > hasn't been long enough, a longer delay time of 200ms is assigned. And > will be used in the next loop round. > > This hub reset handling is also used in the v4.4 Linux USB driver, > hub_port_reset(). This patch, Tested-by: Stephen Warren (Tested with 1 USB SD card reader, 1 USB Ethernet dongle, 4 USB flash drives, which IIRC includes some of the problematic devices that triggered previous changes to the USB enumeration code in U-Boot)