From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Thu, 22 Jan 2015 08:19:36 +0100 Subject: [U-Boot] [PATCH v2] usb: musb-new: omap2430: Reset the MUSB controller early In-Reply-To: <20150120152310.GK10826@bill-the-cat> References: <201501191612.18002.marex@denx.de> <1421688823-12733-1-git-send-email-contact@paulk.fr> <20150120152310.GK10826@bill-the-cat> Message-ID: <201501220819.36385.marex@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Tuesday, January 20, 2015 at 04:23:10 PM, Tom Rini wrote: > On Mon, Jan 19, 2015 at 06:33:43PM +0100, Paul Kocialkowski wrote: > > When booting from USB peripheral boot, the bootrom will not properly > > deinit the MUSB controller, which doesn't clearly indicate an USB > > disconnection to the host and leaves U-Boot to deal with the state of > > the previous USB session. > > > > On some host controller drivers (e.g. xhci_hcd), this ends up in a > > failure during set address, caused by the lack of proper disconnection > > notification. > > > > Resetting the controller early in U-Boot notifies the host of the > > disconnection and doesn't hurt other use cases. > > > > Signed-off-by: Paul Kocialkowski > > Reviewed-by: Tom Rini Applied, thanks! Best regards, Marek Vasut