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>,
Sriram Dash <sriram.dash@nxp.com>, Arnd Bergmann <arnd@arndb.de>
Subject: [PATCH 3/3] usb: dwc3: host: Do not use dma_coerce_mask_and_coherent
Date: Tue, 25 Oct 2016 16:26:28 +0530 [thread overview]
Message-ID: <1477392988-7253-4-git-send-email-sriram.dash@nxp.com> (raw)
In-Reply-To: <1477392988-7253-1-git-send-email-sriram.dash@nxp.com>
Do not use dma_coerce_mask_and_coherent for hcd.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
---
drivers/usb/dwc3/dwc3-exynos.c | 10 ----------
1 file changed, 10 deletions(-)
diff --git a/drivers/usb/dwc3/dwc3-exynos.c b/drivers/usb/dwc3/dwc3-exynos.c
index 2f1fb7e..e27899b 100644
--- a/drivers/usb/dwc3/dwc3-exynos.c
+++ b/drivers/usb/dwc3/dwc3-exynos.c
@@ -20,7 +20,6 @@
#include <linux/kernel.h>
#include <linux/slab.h>
#include <linux/platform_device.h>
-#include <linux/dma-mapping.h>
#include <linux/clk.h>
#include <linux/usb/otg.h>
#include <linux/usb/usb_phy_generic.h>
@@ -117,15 +116,6 @@ static int dwc3_exynos_probe(struct platform_device *pdev)
if (!exynos)
return -ENOMEM;
- /*
- * Right now device-tree probed devices don't get dma_mask set.
- * Since shared usb code relies on it, set it here for now.
- * Once we move to full device tree support this will vanish off.
- */
- ret = dma_coerce_mask_and_coherent(dev, DMA_BIT_MASK(32));
- if (ret)
- return ret;
-
platform_set_drvdata(pdev, exynos);
exynos->dev = dev;
--
2.1.0
next prev parent reply other threads:[~2016-10-25 10:57 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-25 10:56 [PATCH 0/3] inherit dma configuration from parent dev Sriram Dash
2016-10-25 10:56 ` [PATCH 1/3] usb: dwc3: host: " Sriram Dash
2016-10-26 3:29 ` Peter Chen
2016-10-25 10:56 ` [PATCH 2/3] usb: dwc3: host: Do not use dma_set_coherent_mask Sriram Dash
2016-10-25 20:42 ` Arnd Bergmann
2016-10-27 5:29 ` Sriram Dash
2016-10-25 10:56 ` Sriram Dash [this message]
2016-10-25 20:27 ` [PATCH 3/3] usb: dwc3: host: Do not use dma_coerce_mask_and_coherent Arnd Bergmann
2016-10-27 5:28 ` 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=1477392988-7253-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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.