summaryrefslogtreecommitdiff
path: root/drivers/usb/host/xhci-omap.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/host/xhci-omap.c')
-rw-r--r--drivers/usb/host/xhci-omap.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/usb/host/xhci-omap.c b/drivers/usb/host/xhci-omap.c
index a1b4f2f05c..d6c5744818 100644
--- a/drivers/usb/host/xhci-omap.c
+++ b/drivers/usb/host/xhci-omap.c
@@ -29,6 +29,7 @@ static struct omap_xhci omap;
__weak int omap_xhci_board_usb_init(int index, enum usb_init_type init)
{
+ enable_usb_clocks(index);
return 0;
}
@@ -39,6 +40,7 @@ int board_usb_init(int index, enum usb_init_type init)
__weak int omap_xhci_board_usb_cleanup(int index, enum usb_init_type init)
{
+ disable_usb_clocks(index);
return 0;
}