[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1477392988-7253-4-git-send-email-sriram.dash@nxp.com>
Date: Tue, 25 Oct 2016 16:26:28 +0530
From: Sriram Dash <sriram.dash@....com>
To: <linux-kernel@...r.kernel.org>, <linux-usb@...r.kernel.org>
CC: <mathias.nyman@...el.com>, <gregkh@...uxfoundation.org>,
<suresh.gupta@....com>, <felipe.balbi@...ux.intel.com>,
<stern@...land.harvard.edu>, <pku.leo@...il.com>,
Sriram Dash <sriram.dash@....com>,
Arnd Bergmann <arnd@...db.de>
Subject: [PATCH 3/3] usb: dwc3: host: Do not use dma_coerce_mask_and_coherent
Do not use dma_coerce_mask_and_coherent for hcd.
Signed-off-by: Arnd Bergmann <arnd@...db.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
Powered by blists - more mailing lists