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>
master
Kishon Vijay Abraham I 9 years ago committed by Marek Vasut
parent 8bfc288c39
commit f181144361
  1. 1
      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);
}

Loading…
Cancel
Save