arm: am57xx: cl-som-am57x: invoke clock API to enable/disable clocks
authorUri Mashiach <uri.mashiach@compulab.co.il>
Thu, 23 Feb 2017 13:39:38 +0000 (15:39 +0200)
committerTom Rini <trini@konsulko.com>
Mon, 8 May 2017 15:38:38 +0000 (11:38 -0400)
commit4acfe1ae46ca7731544dda57ce42d10acc2d63c5
treea8d87f49e3e9b98f0b3b4c55e8024b31538e702e
parent1a9a5f7a39d655868d7e51327786ca6bccbbec68
arm: am57xx: cl-som-am57x: invoke clock API to enable/disable clocks

Invoke enable_usb_clocks during board_usb_init and disable_usb_clocks
during board_usb_exit to enable and disable clocks respectively.

Modifications:
* Enable USB clocks in the OMAP version of the function
  board_usb_init.
* Disable USB clocks in the OMAP version of the function
  board_usb_cleanup.

Cc: Marek Vasut <marex@denx.de>
Signed-off-by: Uri Mashiach <uri.mashiach@compulab.co.il>
Reviewed-by: Marek Vasut <marex@denx.de>
Reviewed-by: Tom Rini <trini@konsulko.com>
board/compulab/cl-som-am57x/cl-som-am57x.c
drivers/usb/host/xhci-omap.c