diff options
author | Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> | 2016-04-18 09:53:39 +0200 |
---|---|---|
committer | Felipe Balbi <felipe.balbi@linux.intel.com> | 2016-04-19 10:11:54 +0200 |
commit | 679ca39fc670a5a95c2b40d2cc8cf2cee2486f7a (patch) | |
tree | e9b2958d9594cb81ea9df6d6bd945771ad872bcc /drivers/usb/renesas_usbhs/fifo.c | |
parent | usb: gadget: udc: core: Fix argument of dev_err() in usb_gadget_map_request() (diff) | |
download | linux-679ca39fc670a5a95c2b40d2cc8cf2cee2486f7a.tar.xz linux-679ca39fc670a5a95c2b40d2cc8cf2cee2486f7a.zip |
usb: gadget: udc: core: add usb_gadget_{un}map_request_by_dev()
If the following environment, the first argument of DMA API should
be set to a DMAC's device structure, not a udc controller's one.
- A udc controller needs an external DMAC device (like a DMA Engine).
- The external DMAC enables IOMMU.
So, this patch add usb_gadget_{un}map_request_by_dev() API to set
a DMAC's device structure by a udc controller driver.
Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'drivers/usb/renesas_usbhs/fifo.c')
0 files changed, 0 insertions, 0 deletions