summaryrefslogtreecommitdiff
path: root/ipc
diff options
context:
space:
mode:
authorRuslan Bilovol <ruslan.bilovol@ti.com>2013-03-29 19:15:21 +0200
committerFelipe Balbi <balbi@ti.com>2013-04-02 11:42:49 +0300
commit8408fd1d83e39bf856d31a36b70bcc53527702fd (patch)
treeaede13a3701adefcb50f1587682630e4f682c9d2 /ipc
parent2f1d57069338b14fcf4765ae2c25fc377da45b1f (diff)
usb: musb: implement (un)map_urb_for_dma hooks
MUSB controller cannot work in DMA mode with misaligned buffers, switching in PIO mode. HCD core has hooks that allow to override the default DMA mapping and unmapping routines for host controllers that have special DMA requirements, such as alignment constraints. It is observed that work in PIO mode is slow and it's better to align buffers properly before passing them to MUSB This increased throughput 80->120 MBits/s over musb@omap4 with USB Gigabit Ethernet adapter attached. Some ideas are taken from ehci-tegra.c Signed-off-by: Ruslan Bilovol <ruslan.bilovol@ti.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions