• Daniel Mack's avatar
    usb: musb-new: core: set MUSB_POWER_HSENAB in MUSB_POWER for host mode · 16b61d13
    Daniel Mack authored
    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: default avatarDaniel Mack <zonque@gmail.com>
musb_core.c 68.2 KB