]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
usb: musb-new: omap2430: Reset the MUSB controller early
authorPaul Kocialkowski <contact@paulk.fr>
Mon, 19 Jan 2015 17:33:43 +0000 (18:33 +0100)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 1 Sep 2015 11:53:57 +0000 (13:53 +0200)
commitffbfc01ccea219b32bfd61c2f21e59429a28c14a
tree715c3fa782f7b64f598abdd41852652dc6ba26d1
parentadea5f288a25f5393eb442bc58cd05b2970d4358
usb: musb-new: omap2430: Reset the MUSB controller early

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 <contact@paulk.fr>
Reviewed-by: Tom Rini <trini@ti.com>
drivers/usb/musb-new/omap2430.c