Searched hist:"7 ace8fc8219e4cbbfd5b4790390d9a01a2541cdf" (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/usb/gadget/udc/ |
H A D | core.c | 7ace8fc8219e4cbbfd5b4790390d9a01a2541cdf Mon Jul 13 09:10:05 UTC 2015 Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> 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 <yoshihiro.shimoda.uh@renesas.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
|