• Roger Quadros's avatar
    ARM: AM57xx: AM43xx: Fix USB host · 55efadde
    Roger Quadros authored
    CONFIG_USB_XHCI_OMAP can be set for host mode without setting
    CONFIG_USB_DWC3 which is meant for gadget mode only.
    board_usb_init() was not being defined for CONFIG_USB_XHCI_OMAP
    resulting in a data abort on usb start.
    
    Define board_usb_init() for CONFIG_USB_XHCI_OMAP case. Move
    gadget specific handling to within CONFIG_USB_DWC3.
    
    Fixes: 6f1af1e3 ("board: ti: invoke clock API to enable and disable clocks")
    Signed-off-by: default avatarRoger Quadros <rogerq@ti.com>
    55efadde
Name
Last commit
Last update
Licenses Loading commit data...
api Loading commit data...
arch Loading commit data...
board Loading commit data...
cmd Loading commit data...
common Loading commit data...
configs Loading commit data...
disk Loading commit data...
doc Loading commit data...
drivers Loading commit data...
dts Loading commit data...
examples Loading commit data...
fs Loading commit data...
include Loading commit data...
lib Loading commit data...
net Loading commit data...
post Loading commit data...
scripts Loading commit data...
test Loading commit data...
tools Loading commit data...
.checkpatch.conf Loading commit data...
.gitignore Loading commit data...
.mailmap Loading commit data...
.travis.yml Loading commit data...
Kbuild Loading commit data...
Kconfig Loading commit data...
MAINTAINERS Loading commit data...
MAKEALL Loading commit data...
Makefile Loading commit data...
README Loading commit data...
config.mk Loading commit data...
snapshot.commit Loading commit data...