提交 8123e495 编写于 作者: A Arnd Bergmann 提交者: Greg Kroah-Hartman

usb: ehci: fsl: use bus->sysdev for DMA configuration

For the dual role ehci fsl driver, sysdev will handle the dma
config.
Signed-off-by: NArnd Bergmann <arnd@arndb.de>
Signed-off-by: NSriram Dash <sriram.dash@nxp.com>
Signed-off-by: NMathias Nyman <mathias.nyman@linux.intel.com>
Signed-off-by: NPeter Chen <peter.chen@nxp.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 aeb78cda
...@@ -96,8 +96,8 @@ static int fsl_ehci_drv_probe(struct platform_device *pdev) ...@@ -96,8 +96,8 @@ static int fsl_ehci_drv_probe(struct platform_device *pdev)
} }
irq = res->start; irq = res->start;
hcd = usb_create_hcd(&fsl_ehci_hc_driver, &pdev->dev, hcd = __usb_create_hcd(&fsl_ehci_hc_driver, pdev->dev.parent,
dev_name(&pdev->dev)); &pdev->dev, dev_name(&pdev->dev), NULL);
if (!hcd) { if (!hcd) {
retval = -ENOMEM; retval = -ENOMEM;
goto err1; goto err1;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册