aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/chipidea/ci_hdrc_usb2.c
diff options
context:
space:
mode:
authorJisheng Zhang <jszhang@marvell.com>2017-01-23 15:09:23 +0800
committerPeter Chen <peter.chen@nxp.com>2017-01-23 17:02:39 +0800
commit30a9566a4f6071ef159f83e18f8c15a66ee08c2d (patch)
tree56ed22da9700d06d4c931de78057b6cd63df8716 /drivers/usb/chipidea/ci_hdrc_usb2.c
parentusb: chipidea: delete an useless header include (diff)
downloadlinux-dev-30a9566a4f6071ef159f83e18f8c15a66ee08c2d.tar.xz
linux-dev-30a9566a4f6071ef159f83e18f8c15a66ee08c2d.zip
usb: chipidea: usb2: delete the redundant setting default DMA mask code
Similar as commit 2b2fe36def08 ("usb: chipidea: imx: delete the redundant setting default DMA mask code"), the ci_hdrc_usb2 platform device is also created by device tree, the default DMA mask should be already set by of_dma_configure when the device are created. So delete the redundant code at driver. Signed-off-by: Jisheng Zhang <jszhang@marvell.com> Signed-off-by: Peter Chen <peter.chen@nxp.com>
Diffstat (limited to 'drivers/usb/chipidea/ci_hdrc_usb2.c')
-rw-r--r--drivers/usb/chipidea/ci_hdrc_usb2.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/usb/chipidea/ci_hdrc_usb2.c b/drivers/usb/chipidea/ci_hdrc_usb2.c
index 4456d2cf80ff..d162cc0bb8ce 100644
--- a/drivers/usb/chipidea/ci_hdrc_usb2.c
+++ b/drivers/usb/chipidea/ci_hdrc_usb2.c
@@ -74,10 +74,6 @@ static int ci_hdrc_usb2_probe(struct platform_device *pdev)
}
}
- ret = dma_set_mask_and_coherent(dev, DMA_BIT_MASK(32));
- if (ret)
- goto clk_err;
-
ci_pdata->name = dev_name(dev);
priv->ci_pdev = ci_hdrc_add_device(dev, pdev->resource,