mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-02-28 17:02:50 +01:00
usb: musb-new: core: set MUSB_POWER_HSENAB in MUSB_POWER for host mode
This bit allows the MUSB controller to negotiate for high-speed mode when the device is reset by the hub. If unset, Babble errors occur with high-speed mass storage devices right after the first packet. This condition is not caught by the interrupt handles in U-Boot, so no recovery is done, and the USB communication is stuck. To fix this, set the bit unconditionally, not only for CONFIG_USB_GADGET_DUALSPEED but also for host-only modes. Signed-off-by: Daniel Mack <zonque@gmail.com>
This commit is contained in:
parent
d1fcbae117
commit
16b61d13ba
1 changed files with 0 additions and 2 deletions
|
|
@ -942,9 +942,7 @@ void musb_start(struct musb *musb)
|
|||
|
||||
/* put into basic highspeed mode and start session */
|
||||
musb_writeb(regs, MUSB_POWER, MUSB_POWER_ISOUPDATE
|
||||
#ifdef CONFIG_USB_GADGET_DUALSPEED
|
||||
| MUSB_POWER_HSENAB
|
||||
#endif
|
||||
/* ENSUSPEND wedges tusb */
|
||||
/* | MUSB_POWER_ENSUSPEND */
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue