--- zzzz-none-000/linux-4.4.60/drivers/usb/dwc3/host.c 2017-04-08 07:53:53.000000000 +0000 +++ dragonfly-4020-701/linux-4.4.60/drivers/usb/dwc3/host.c 2018-11-08 13:36:17.000000000 +0000 @@ -32,6 +32,7 @@ return -ENOMEM; } + arch_setup_dma_ops(&xhci->dev, 0, 0, NULL, 0); dma_set_coherent_mask(&xhci->dev, dwc->dev->coherent_dma_mask); xhci->dev.parent = dwc->dev; @@ -51,6 +52,10 @@ pdata.usb3_lpm_capable = dwc->usb3_lpm_capable; + pdata.usb2_susphy_quirk = dwc->enable_usb2susphy_quirk; + pdata.usb3_dev_reset_quirk = dwc->usb3_dev_reset_quirk; + pdata.susphy = &dwc->susphy; + ret = platform_device_add_data(xhci, &pdata, sizeof(pdata)); if (ret) { dev_err(dwc->dev, "couldn't add platform data to xHCI device\n");