USB: introduce unmap_urb_setup_for_dma()
authorMartin Fuzzey <mfuzzey@gmail.com>
Thu, 30 Sep 2010 22:21:55 +0000 (00:21 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 22 Oct 2010 17:22:03 +0000 (10:22 -0700)
commit1dae423dd9b247b048eda00cb598c755e5933213
tree8c26248225009634cdff99a53bdb7e5e03b54de9
parent7a7e7896422baced4757070b813ba28ab24a214a
USB: introduce unmap_urb_setup_for_dma()

Split unmap_urb_for_dma() to allow just the setup buffer
to be unmapped. This allows HCDs to use PIO for the setup
buffer if it is not suitable for DMA.

Signed-off-by: Martin Fuzzey <mfuzzey@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/core/hcd.c
include/linux/usb/hcd.h