summaryrefslogtreecommitdiffstats
path: root/drivers/usb/dwc3/dwc3-st.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2016-11-17 17:13:48 +0530
committerFelipe Balbi <felipe.balbi@linux.intel.com>2016-11-18 13:54:55 +0200
commit8c9f2de459c72960c64b4231f444844ca6b0fc26 (patch)
tree97623c26821b0c528608234f4c56eceb7d1e278a /drivers/usb/dwc3/dwc3-st.c
parentd64ff406e51e4f359afedbf2468a10440d6d8cef (diff)
downloadlinux-8c9f2de459c72960c64b4231f444844ca6b0fc26.tar.bz2
usb: dwc3: Do not set dma coherent mask
The dma mask is correctly set up by the DT probe function, no need to override it any more. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Sriram Dash <sriram.dash@nxp.com> Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'drivers/usb/dwc3/dwc3-st.c')
-rw-r--r--drivers/usb/dwc3/dwc3-st.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/usb/dwc3/dwc3-st.c b/drivers/usb/dwc3/dwc3-st.c
index 89a2f712fdfe..4d7439cb8cd8 100644
--- a/drivers/usb/dwc3/dwc3-st.c
+++ b/drivers/usb/dwc3/dwc3-st.c
@@ -218,7 +218,6 @@ static int st_dwc3_probe(struct platform_device *pdev)
if (IS_ERR(regmap))
return PTR_ERR(regmap);
- dma_set_coherent_mask(dev, dev->coherent_dma_mask);
dwc3_data->dev = dev;
dwc3_data->regmap = regmap;