summaryrefslogtreecommitdiffstats
path: root/drivers/usb
diff options
context:
space:
mode:
authorKishon Vijay Abraham I <kishon@ti.com>2015-08-19 13:49:47 +0530
committerMarek Vasut <marex@denx.de>2015-08-19 22:30:31 +0200
commitf18114436137f43fff7d325b4f5d9c6b5ba9551c (patch)
tree9baca83135a9c3c2d935106c24450c4612567caf /drivers/usb
parent8bfc288c395584101f4a7fb545c4e79f3fb85c3e (diff)
downloadtalos-obmc-uboot-f18114436137f43fff7d325b4f5d9c6b5ba9551c.tar.gz
talos-obmc-uboot-f18114436137f43fff7d325b4f5d9c6b5ba9551c.zip
usb: host: xhci-omap: invoke board_usb_cleanup in xhci_hcd_stop
xhci omap driver has board_usb_init in xhci_hcd_init but doesn't have the corresponding cleanup function in xhci_hcd_stop. Fix it here by invoking board_usb_cleanup() in xhci_hcd_stop(). Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com> Acked-by: Marek Vasut <marex@denx.de> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Lukasz Majewski <l.majewski@samsung.com>
Diffstat (limited to 'drivers/usb')
-rw-r--r--drivers/usb/host/xhci-omap.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/host/xhci-omap.c b/drivers/usb/host/xhci-omap.c
index 3a55208384..104e7a7282 100644
--- a/drivers/usb/host/xhci-omap.c
+++ b/drivers/usb/host/xhci-omap.c
@@ -96,4 +96,5 @@ void xhci_hcd_stop(int index)
struct omap_xhci *ctx = &omap;
omap_xhci_core_exit(ctx);
+ board_usb_cleanup(index, USB_INIT_HOST);
}
OpenPOWER on IntegriCloud