Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1514182

RE: [PATCH v2 3/6] usb: ehci: fsl: use bus->sysdev for DMA configuration

From Sriram Dash <sriram.dash@nxp.com>
Newsgroups linux.kernel
Subject RE: [PATCH v2 3/6] usb: ehci: fsl: use bus->sysdev for DMA configuration
Date 2016-11-02 23:10 +0100
Message-ID <szbTj-3Er-13@gated-at.bofh.it> (permalink)
References <syWUi-2v6-5@gated-at.bofh.it> <syZyN-40k-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


>From: Sriram Dash [mailto:sriram.dash@nxp.com]
>From: Arnd Bergmann <arnd@arndb.de>
>
>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>
>---
>Changes in v2:
>  - fix compile warnings
>
>
> drivers/usb/host/ehci-fsl.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
>diff --git a/drivers/usb/host/ehci-fsl.c b/drivers/usb/host/ehci-fsl.c index
>9f5ffb6..4dde500 100644
>--- a/drivers/usb/host/ehci-fsl.c
>+++ b/drivers/usb/host/ehci-fsl.c
>@@ -96,8 +96,8 @@ static int fsl_ehci_drv_probe(struct platform_device *pdev)
> 	}
> 	irq = res->start;
>
>-	hcd = usb_create_hcd(&fsl_ehci_hc_driver, &pdev->dev,
>-				dev_name(&pdev->dev));
>+	hcd = __usb_create_hcd(&fsl_ehci_hc_driver, &pdev->dev->parent,

Will correct it to "pdev->dev.parent".

>+			       &pdev->dev, dev_name(&pdev->dev), NULL);
> 	if (!hcd) {
> 		retval = -ENOMEM;
> 		goto err1;
>--
>2.1.0

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

RE: [PATCH v2 3/6] usb: ehci: fsl: use bus->sysdev for DMA  configuration Sriram Dash <sriram.dash@nxp.com> - 2016-11-02 23:10 +0100

csiph-web