summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRajesh Bhagat <rajesh.bhagat@freescale.com>2015-11-20 07:16:40 (GMT)
committerRajesh Bhagat <rajesh.bhagat@freescale.com>2015-11-20 07:16:40 (GMT)
commite8c288e0e5aa820d60c8b9aed143e8adca8c6fca (patch)
tree609f18135386427e11405f2db1cb674d7c09325c
parent56afee9a0c0065d0359aa801f5bd33389bfbb2ee (diff)
downloadlinux-fsl-qoriq-e8c288e0e5aa820d60c8b9aed143e8adca8c6fca.tar.xz
drivers: dwc3: Set dma ops for xhci dev
Set dmap ops for xhci dev same as dwc3 dev Signed-off-by: Nikhil Badola <nikhil.badola@freescale.com> Signed-off-by: Rajesh Bhagat <rajesh.bhagat@freescale.com>
-rw-r--r--drivers/usb/dwc3/host.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/dwc3/host.c b/drivers/usb/dwc3/host.c
index 32db328..98015ce 100644
--- a/drivers/usb/dwc3/host.c
+++ b/drivers/usb/dwc3/host.c
@@ -36,6 +36,7 @@ int dwc3_host_init(struct dwc3 *dwc)
xhci->dev.parent = dwc->dev;
xhci->dev.dma_mask = dwc->dev->dma_mask;
xhci->dev.dma_parms = dwc->dev->dma_parms;
+ set_dma_ops(&xhci->dev, dwc->dev->archdata.dma_ops);
dwc->xhci = xhci;