From: Yoshihiro Shimoda Date: Mon, 13 Jul 2015 09:10:05 +0000 (+0900) Subject: usb: gadget: udc: core: Fix argument of dma_map_single for IOMMU X-Git-Tag: omap-for-v4.3/fixes-merge-window~184^2~14^2~1 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7ace8fc8219e4cbbfd5b4790390d9a01a2541cdf;p=pandora-kernel.git usb: gadget: udc: core: Fix argument of dma_map_single for IOMMU The dma_map_single and dma_unmap_single should set "gadget->dev.parent" instead of "&gadget->dev" in the first argument because the parent has a udc controller's device pointer. Otherwise, iommu functions are not called in ARM environment. Signed-off-by: Yoshihiro Shimoda Signed-off-by: Felipe Balbi --- Reading git-diff-tree failed