From mboxrd@z Thu Jan 1 00:00:00 1970 From: Felipe Balbi Subject: [PATCH 6/6] usb: dwc3: host: don't access DMA bits directly Date: Sat, 2 Apr 2016 11:28:59 +0300 Message-ID: <1459585739-21204-7-git-send-email-felipe.balbi@linux.intel.com> References: <1459585739-21204-1-git-send-email-felipe.balbi@linux.intel.com> Return-path: In-Reply-To: <1459585739-21204-1-git-send-email-felipe.balbi-VuQAYsv1563Yd54FQh9/CA@public.gmane.org> Sender: linux-usb-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Linux USB Mailing List Cc: Santosh Shilimkar , Grygorii Strashko , Tony Lindgren , Linux OMAP Mailing List , Srinivas Kandagatla , Maxime Coquelin , Patrice Chotard , Andy Gross , "Ivan T . Ivanov" , Felipe Balbi List-Id: linux-omap@vger.kernel.org instead of manually copying DMA bits from parent device, we should let DMA API do its job. Signed-off-by: Felipe Balbi --- drivers/usb/dwc3/host.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/usb/dwc3/host.c b/drivers/usb/dwc3/host.c index c679f63783ae..186f1704a16b 100644 --- a/drivers/usb/dwc3/host.c +++ b/drivers/usb/dwc3/host.c @@ -32,11 +32,8 @@ int dwc3_host_init(struct dwc3 *dwc) return -ENOMEM; } - dma_set_coherent_mask(&xhci->dev, dwc->dev->coherent_dma_mask);