Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8123e495 authored by Arnd Bergmann's avatar Arnd Bergmann Committed by Greg Kroah-Hartman
Browse files

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: default avatarArnd Bergmann <arnd@arndb.de>
Signed-off-by: default avatarSriram Dash <sriram.dash@nxp.com>
Signed-off-by: default avatarMathias Nyman <mathias.nyman@linux.intel.com>
Signed-off-by: default avatarPeter Chen <peter.chen@nxp.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent aeb78cda
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -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;