commit | 7ace8fc8219e4cbbfd5b4790390d9a01a2541cdf | [log] [tgz] |
---|---|---|
author | Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> | Mon Jul 13 18:10:05 2015 +0900 |
committer | Felipe Balbi <balbi@ti.com> | Mon Jul 20 12:57:46 2015 -0500 |
tree | 58e33564d7ef41e42bc8d9ea4c0fb49edb88d7ee | |
parent | 53e20f2eb161fbe9eea28b54dccc870cec94eca2 [diff] |
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>