diff options
| author | Maulik Mankad <[email protected]> | 2010-09-24 13:44:06 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2010-10-22 10:21:53 -0700 |
| commit | 496dda704bca1208e08773ba39b29a69536f5381 (patch) | |
| tree | 9b6e445625b8c40b526bef271e29df77b1cd8761 /scripts/patch-kernel | |
| parent | 6587cc0f30cd2f27cf0677e470f18792925a23a4 (diff) | |
usb: musb: host: unmap the buffer for PIO data transfers
The USB stack maps the buffer for DMA if the controller supports DMA.
MUSB controller can perform DMA as well as PIO transfers.
The buffer needs to be unmapped before CPU can perform
PIO data transfers.
Export unmap_urb_for_dma() so that drivers can perform
the DMA unmapping in a sane way.
Signed-off-by: Maulik Mankad <[email protected]>
Acked-by: Alan Stern <[email protected]>
Signed-off-by: Felipe Balbi <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions