ARM: OMAP5+: Provide enable/disable_usb_clocks() for CONFIG_USB_XHCI_OMAP
authorRoger Quadros <rogerq@ti.com>
Mon, 23 May 2016 14:37:47 +0000 (17:37 +0300)
committerTom Rini <trini@konsulko.com>
Fri, 3 Jun 2016 01:42:14 +0000 (21:42 -0400)
commit383f4a0ec78ee92c89a7ce135acbde47c84c6201
treeb5c0fb5c41a19b4c4d703ade0d799d52598205e6
parent91b86e21564de01c0e3deafc72702897993d63ae
ARM: OMAP5+: Provide enable/disable_usb_clocks() for CONFIG_USB_XHCI_OMAP

CONFIG_USB_XHCI_OMAP is enabled for host mode independent of CONFIG_USB_DWC3
which is meant for gadget mode only. We need enable/disbale_usb_clocks() for
host mode as well so provide for it.

Fixes: 09cc14f4bcbf ("ARM: AM43xx: Add functions to enable and disable USB clocks"
Signed-off-by: Roger Quadros <rogerq@ti.com>
arch/arm/cpu/armv7/am33xx/clock_am43xx.c
arch/arm/cpu/armv7/omap5/hw_data.c