]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit549336b20be92d2ebea4f5d55862a6d9389d859d
tree8c26248225009634cdff99a53bdb7e5e03b54de9
parentd80bb937cbfb2af1dc84fd9186fba70fd03e3be2
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