From: Maulik Mankad Date: Fri, 24 Sep 2010 10:44:06 +0000 (+0300) Subject: usb: musb: host: unmap the buffer for PIO data transfers X-Git-Tag: v2.6.37-rc1~154^2~73 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=496dda704bca1208e08773ba39b29a69536f5381;p=pandora-kernel.git 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 Acked-by: Alan Stern Signed-off-by: Felipe Balbi Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed