tmp_suning_uos_patched/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 USB: musb: AM35x: Workaround for fifo read issue 2010-10-22 10:22:17 -07:00
blackfin.c USB: musb: blackfin: push clkin value to platform resources 2010-11-05 14:13:32 +02:00
blackfin.h
cppi_dma.c USB: musb: suppress warning about unused flags 2010-10-22 10:21:55 -07:00
cppi_dma.h
da8xx.c usb: musb: introduce DA8xx/OMAP-L1x glue layer 2010-10-22 10:21:52 -07:00
davinci.c USB: MUSB: fix kernel WARNING/oops when unloading module in OTG mode 2010-10-22 10:21:58 -07:00
davinci.h
Kconfig USB: musb: add musb support for AM35x 2010-10-22 10:22:16 -07:00
Makefile USB: musb: add musb support for AM35x 2010-10-22 10:22:16 -07:00
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 USB: musb: make DBG() calls actually depend on CONFIG_USB_MUSB_DEBUG 2010-10-22 10:21:52 -07:00
musb_debugfs.c
musb_dma.h
musb_gadget_ep0.c usb: musb: gadget: restart request on clearing endpoint halt 2010-09-24 11:05:01 -07:00
musb_gadget.c usb: musb: do not use dma for control transfers 2010-11-22 12:55:02 +02:00
musb_gadget.h usb: musb: support ISO high bandwidth for gadget mode 2010-10-22 10:21:53 -07:00
musb_host.c usb: musb: host: support DMA transfers greater than max channel length 2010-10-22 10:21:54 -07:00
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 USB: MUSB: fix kernel WARNING/oops when unloading module in OTG mode 2010-10-22 10:21:58 -07:00
omap2430.h
tusb6010_omap.c
tusb6010.c USB: MUSB: fix kernel WARNING/oops when unloading module in OTG mode 2010-10-22 10:21:58 -07:00
tusb6010.h