Message ID | CAMz4kuLmFQUm0Ot7my-BXknQK=q8+aV3a6j23+qJuoFxoqcnGw@mail.gmail.com |
---|---|
State | New |
Headers | show |
diff --git a/drivers/usb/dwc3/host.c b/drivers/usb/dwc3/host.c index c679f63..f7c58f9 100644 --- a/drivers/usb/dwc3/host.c +++ b/drivers/usb/dwc3/host.c @@ -17,6 +17,7 @@ #include <linux/platform_device.h> #include <linux/usb/xhci_pdriver.h> +#include <linux/of_device.h> #include "core.h" @@ -37,6 +38,7 @@ int dwc3_host_init(struct dwc3 *dwc) xhci->dev.parent = dwc->dev; xhci->dev.dma_mask = dwc->dev->dma_mask; xhci->dev.dma_parms = dwc->dev->dma_parms; + of_dma_configure(&xhci->dev, dwc->dev->of_node); dwc->xhci = xhci;