linux/drivers/usb/musb
Tony Lindgren 1d0f11b397 usb: Fix tusb6010 for DMA API
Commit 18eabe2347 introduced
DMA buffer ownership. Fix tusb6010 accordingly. To compile,
also dummy musb_platform_save and restore functions need to
be added.

Also change the order of musb_read_fifo() to happen after
dma_cache_maint to have the DMA operations completed before
moving the remaining unaligned bytes with PIO. The DMA
access and PIO touch different areas of the FIFO, so this
change only makes the code a bit easier to follow.

Tested on n810 and g_ether with variable size ping test.
The test seems to fail for some ping sizes, but that seems to
be a different problem.

Signed-off-by: Tony Lindgren <tony@atomide.com>
Acked-by: Felipe Balbi <felipe.balbi@nokia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-04-30 09:25:09 -07:00
..
Kconfig MUSB: fix DaVinci glue layer dependency 2010-04-30 09:25:09 -07:00
Makefile MUSB: fix DaVinci glue layer dependency 2010-04-30 09:25:09 -07:00
blackfin.c MUSB: Blackfin: don't fake blackfin_interrupt() result 2010-04-30 09:25:08 -07:00
blackfin.h USB: musb: workaround Blackfin FIFO anomalies 2009-12-23 11:34:19 -08:00
cppi_dma.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
cppi_dma.h headers: smp_lock.h redux 2009-07-12 12:22:34 -07:00
davinci.c MUSB: DaVinci: fix musb_platform_init() error cleanup path 2010-04-30 09:25:08 -07:00
davinci.h USB: musb: partial DaVinci dm355 support 2009-03-24 16:20:36 -07:00
musb_core.c musb_core: fix musb_init_controller() error cleanup path 2010-04-30 09:25:09 -07:00
musb_core.h musb: save and restore missing bus control register 2010-04-30 09:25:08 -07:00
musb_debug.h usb: musb: fix debug global variable name 2008-11-13 14:45:01 -08:00
musb_dma.h USB: musb: add work around for Blackfin anomaly 05000456 2009-12-11 11:55:24 -08:00
musb_gadget.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
musb_gadget.h USB: musb_gadget_ep0: stop abusing musb_gadget_set_halt() 2009-12-11 11:55:25 -08:00
musb_gadget_ep0.c USB: musb: gadget_ep0: avoid SetupEnd interrupt 2009-12-23 11:34:18 -08:00
musb_host.c musb: potential use after free 2010-04-30 09:25:08 -07:00
musb_host.h musb: add high bandwidth ISO support 2009-06-15 21:44:41 -07:00
musb_io.h USB: musb: Blackfin provides read/write I/O accessor in header files 2009-01-07 10:00:08 -08:00
musb_regs.h USB: musb: fix warnings in Blackfin regs 2010-03-19 07:24:13 -07:00
musb_virthub.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
musbhsdma.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
musbhsdma.h usb: musb: hsdma: add wrapper for reading DMA count 2010-03-02 14:53:41 -08:00
omap2430.c MUSB: OMAP: don't call clk_put() 2010-04-30 09:25:09 -07:00
omap2430.h USB: musb: get rid of omap_readl/writel 2010-03-02 14:54:38 -08:00
tusb6010.c usb: Fix tusb6010 for DMA API 2010-04-30 09:25:09 -07:00
tusb6010.h USB: musb: Remove my email address from few musb related drivers 2009-04-23 14:15:27 -07:00
tusb6010_omap.c usb: Fix tusb6010 for DMA API 2010-04-30 09:25:09 -07:00