From: Sriram Dash <sriram.dash@nxp.com>
To: <linux-kernel@vger.kernel.org>, <linux-usb@vger.kernel.org>
Cc: <mathias.nyman@intel.com>, <gregkh@linuxfoundation.org>,
<suresh.gupta@nxp.com>, <felipe.balbi@linux.intel.com>,
<stern@rowland.harvard.edu>, <pku.leo@gmail.com>,
Arnd Bergmann <arnd@arndb.de>, Sriram Dash <sriram.dash@nxp.com>
Subject: [PATCH v2 3/6] usb: ehci: fsl: use bus->sysdev for DMA configuration
Date: Wed, 2 Nov 2016 11:08:10 +0530 [thread overview]
Message-ID: <1478065093-6923-4-git-send-email-sriram.dash@nxp.com> (raw)
In-Reply-To: <1478065093-6923-1-git-send-email-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,
+ &pdev->dev, dev_name(&pdev->dev), NULL);
if (!hcd) {
retval = -ENOMEM;
goto err1;
--
2.1.0
next prev parent reply other threads:[~2016-11-02 5:38 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-11-02 5:38 [PATCH v2 0/6] inherit dma configuration from parent dev Sriram Dash
2016-11-02 5:38 ` [PATCH v2 1/6] usb: separate out sysdev pointer from usb_bus Sriram Dash
2016-11-03 17:49 ` Grygorii Strashko
2016-11-02 5:38 ` [PATCH v2 2/6] usb: chipidea: use bus->sysdev for DMA configuration Sriram Dash
2016-11-02 6:03 ` Peter Chen
2016-11-02 5:38 ` Sriram Dash [this message]
2016-11-02 8:53 ` [PATCH v2 3/6] usb: ehci: fsl: " kbuild test robot
2016-11-02 9:26 ` Sriram Dash
2016-11-02 5:38 ` [PATCH v2 4/6] usb: xhci: " Sriram Dash
2016-11-02 5:38 ` [PATCH v2 5/6] usb: dwc3: " Sriram Dash
2016-11-02 5:38 ` [PATCH v2 6/6] usb: dwc3: Do not set dma coherent mask Sriram Dash
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1478065093-6923-4-git-send-email-sriram.dash@nxp.com \
--to=sriram.dash@nxp.com \
--cc=arnd@arndb.de \
--cc=felipe.balbi@linux.intel.com \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=mathias.nyman@intel.com \
--cc=pku.leo@gmail.com \
--cc=stern@rowland.harvard.edu \
--cc=suresh.gupta@nxp.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox