diff options
author | Ruslan Bilovol <ruslan.bilovol@ti.com> | 2012-05-17 18:11:39 +0300 |
---|---|---|
committer | Ziyann <jaraidaniel@gmail.com> | 2014-10-01 12:58:37 +0200 |
commit | 8d0a4c67c8d1860d6faad0c74ee96df9e700e9c9 (patch) | |
tree | f3aafaf92174a9704018bd5726302052a85b8f88 /mm/slab.c | |
parent | a7df0bc1c7beff2e5dbcc6f1bf7f3fce3564bbc8 (diff) | |
download | kernel_samsung_tuna-8d0a4c67c8d1860d6faad0c74ee96df9e700e9c9.zip kernel_samsung_tuna-8d0a4c67c8d1860d6faad0c74ee96df9e700e9c9.tar.gz kernel_samsung_tuna-8d0a4c67c8d1860d6faad0c74ee96df9e700e9c9.tar.bz2 |
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 contraints.
It is observed that work in PIO mode is slow and it's better
to align buffers properly before pass them to MUSB
Some ideas taken from ehci-tegra.c
Change-Id: Id6eeaa811063d408f121c79012aba921f26eb582
Signed-off-by: Ruslan Bilovol <ruslan.bilovol@ti.com>
Diffstat (limited to 'mm/slab.c')
0 files changed, 0 insertions, 0 deletions