Commit 70ee33d7 authored by Ye Li's avatar Ye Li Committed by Jason Liu
Browse files

MLK-16431-1 xhci-imx8: call board_usb_cleanup when xhci stop

Call the board_usb_cleanup in xhci_imx8_remove (DM) and xhci_hcd_stop (non-DM) to
execute some board level usb stop in cc logic and ss mux.
Signed-off-by: default avatarYe Li <>
parent fbaab32b
......@@ -209,6 +209,8 @@ static int xhci_imx8_remove(struct udevice *dev)
if (!ret)
board_usb_cleanup(dev->seq, USB_INIT_HOST);
return ret;
......@@ -262,5 +264,7 @@ int xhci_hcd_init(int index, struct xhci_hccr **ret_hccr,
void xhci_hcd_stop(int index)
board_usb_cleanup(index, USB_INIT_HOST);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment