Commit 1e5fe0b3644a9dc87378852c732c725f0dc009f2

Authored by Kishon Vijay Abraham I
Committed by Lokesh Vutla
1 parent f320f004fb

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>

Showing 1 changed file with 1 additions and 0 deletions Side-by-side Diff

drivers/usb/host/xhci-omap.c
... ... @@ -156,5 +156,6 @@
156 156 struct omap_xhci *ctx = &omap;
157 157  
158 158 omap_xhci_core_exit(ctx);
  159 + board_usb_cleanup(index, USB_INIT_HOST);
159 160 }