mirror of
https://github.com/FEX-Emu/linux.git
synced 2025-02-01 08:34:21 +00:00
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: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Sriram Dash <sriram.dash@nxp.com> Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com> Signed-off-by: Peter Chen <peter.chen@nxp.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
aeb78cda51
commit
8123e4953f
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user