From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jC2ty-0005s7-LT for barebox@lists.infradead.org; Wed, 11 Mar 2020 15:04:09 +0000 Date: Wed, 11 Mar 2020 16:04:03 +0100 From: Sascha Hauer Message-ID: <20200311150403.GC3335@pengutronix.de> References: <20200309142026.26208-1-ceggers@arri.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20200309142026.26208-1-ceggers@arri.de> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Re: [PATCH] usb: Add extra delay for device scan To: Christian Eggers Cc: barebox@lists.infradead.org, Primoz Fiser On Mon, Mar 09, 2020 at 03:20:26PM +0100, Christian Eggers wrote: > Since b1d9837182, detection of various USB flash drives stopped working. > While the changes itself look correct, probably the HUB requires some > "recovery time" between the GET_STATUS commands in order to be able to > detect devices. > > Our configuration: i.MX6ULL (USB-OTG) with only one port on the root > HUB. This port is connected to a Microchip USB4916 hub (permanently > attached). The USB4916 is configured with it's power on defaults which > means that bPwrOn2PwrGood is set to the maximum (0xFF = 510 ms). > > Fixes: b1d9837182 ("b1d9837182d2b20232234adb36ada2129c3a8152") > Signed-off-by: Christian Eggers > --- > drivers/usb/core/hub.c | 3 +++ > 1 file changed, 3 insertions(+) Applied with the fixes tag fixed. Sascha -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox