Re: [PATCH V4] usb: musb: host: Unmap the buffer for PIO data transfers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 24 Aug 2010, Maulik Mankad wrote:

> 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 <x0082077@xxxxxx>
> Cc: Felipe Balbi <felipe.balbi@xxxxxxxxx>
> Cc: Alan Stern <stern@xxxxxxxxxxxxxxxxxxx>
> ---
> Based on 2.6.36-rc1
> V4: Fix Alan's comments.
>  drivers/usb/core/hcd.c       |    3 ++-
>  drivers/usb/musb/musb_host.c |    5 +++++
>  include/linux/usb/hcd.h      |    1 +
>  3 files changed, 8 insertions(+), 1 deletion(-)

Acked-by: Alan Stern <stern@xxxxxxxxxxxxxxxxxxx>

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux