diff options
author | Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> | 2015-07-13 18:10:05 +0900 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2015-07-20 12:57:46 -0500 |
commit | 7ace8fc8219e4cbbfd5b4790390d9a01a2541cdf (patch) | |
tree | 58e33564d7ef41e42bc8d9ea4c0fb49edb88d7ee /drivers/usb/dwc3/ep0.c | |
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>
Diffstat (limited to 'drivers/usb/dwc3/ep0.c')
0 files changed, 0 insertions, 0 deletions