]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
usb: musb-new: core: set MUSB_POWER_HSENAB in MUSB_POWER for host mode
authorDaniel Mack <zonque@gmail.com>
Tue, 22 Jul 2014 10:47:02 +0000 (12:47 +0200)
committerMarek Vasut <marex@denx.de>
Mon, 6 Oct 2014 19:04:44 +0000 (21:04 +0200)
commit16b61d13bab361853564da401b15fc34ae1dfea7
tree1ec1fefcfc6fcae8d6f4a016e901b971b27883ad
parentd1fcbae1173f00917f5a71e4c074a61120605021
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>
drivers/usb/musb-new/musb_core.c