linux/drivers/usb/musb
Anand Gadiyar 07a8cdd2bb usb: musb: do not use dma for control transfers
The Inventra DMA engine used with the MUSB controller in many
SoCs cannot use DMA for control transfers on EP0, but can use
DMA for all other transfers.

The USB core maps urbs for DMA if hcd->self.uses_dma is true.
(hcd->self.uses_dma is true for MUSB as well).

Split the uses_dma flag into two - one that says if the
controller needs to use PIO for control transfers, and
another which says if the controller uses DMA (for all
other transfers).

Also, populate this flag for all MUSB by default.

(Tested on OMAP3 and OMAP4 boards, with EHCI and MUSB HCDs
simultaneously in use).

Signed-off-by: Maulik Mankad <x0082077@ti.com>
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Signed-off-by: Anand Gadiyar <gadiyar@ti.com>
Cc: Oliver Neukum <oliver@neukum.org>
Cc: Alan Stern <stern@rowland.harvard.edu>
Cc: Praveena NADAHALLY <praveen.nadahally@stericsson.com>
Cc: Ajay Kumar Gupta <ajay.gupta@ti.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
2010-11-22 12:55:02 +02:00
..
am35x.c
blackfin.c USB: musb: blackfin: push clkin value to platform resources 2010-11-05 14:13:32 +02:00
blackfin.h
cppi_dma.c
cppi_dma.h
da8xx.c
davinci.c
davinci.h
Kconfig
Makefile
musb_core.c usb: musb: do not use dma for control transfers 2010-11-22 12:55:02 +02:00
musb_core.h USB: musb: blackfin: pm: make it work 2010-11-05 14:10:57 +02:00
musb_debug.h
musb_debugfs.c
musb_dma.h
musb_gadget_ep0.c
musb_gadget.c usb: musb: do not use dma for control transfers 2010-11-22 12:55:02 +02:00
musb_gadget.h
musb_host.c
musb_host.h
musb_io.h
musb_regs.h USB: musb: blackfin: fix musb_read_txhubport() definition 2010-11-05 13:59:32 +02:00
musb_virthub.c
musbhsdma.c usb: musb: fail unaligned DMA transfers on v1.8 and above 2010-11-09 10:24:35 +02:00
musbhsdma.h
omap2430.c
omap2430.h
tusb6010_omap.c
tusb6010.c
tusb6010.h