summaryrefslogtreecommitdiff
path: root/drivers/usb/phy/omap_usb_phy.c
diff options
context:
space:
mode:
authorRoger Quadros <rogerq@ti.com>2016-05-23 17:37:48 +0300
committerTom Rini <trini@konsulko.com>2016-06-02 21:42:15 -0400
commit55efadde7edee407a14c7cbf418c82b30a94faa8 (patch)
treea38451c45955d802965fbde63de5a6126ae27b4f /drivers/usb/phy/omap_usb_phy.c
parent383f4a0ec78ee92c89a7ce135acbde47c84c6201 (diff)
ARM: AM57xx: AM43xx: Fix USB host
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: 6f1af1e358b7 ("board: ti: invoke clock API to enable and disable clocks") Signed-off-by: Roger Quadros <rogerq@ti.com>
Diffstat (limited to 'drivers/usb/phy/omap_usb_phy.c')
0 files changed, 0 insertions, 0 deletions