linux/arch/arm/mach-ep93xx
Mika Westerberg 10d48b3934 ARM: 6440/1: ep93xx: DMA: fix channel_disable
When channel_disable() is called, it disables per channel interrupts and
waits until channels state becomes STATE_STALL, and then disables the
channel. Now, if the DMA transfer is disabled while the channel is in
STATE_NEXT we will not wait anything and disable the channel immediately.
This seems to cause weird data corruption for example in audio transfers.

Fix is to wait while we are in STATE_NEXT or STATE_ON and only then
disable the channel.

Signed-off-by: Mika Westerberg <mika.westerberg@iki.fi>
Acked-by: Ryan Mallon <ryan@bluewatersys.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2010-10-12 22:43:19 +01:00
..
include/mach Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6 2010-08-07 17:07:31 -07:00
adssphere.c ARM: 6168/1: ep93xx: move physmap flash registration into core.c 2010-06-16 22:56:05 +01:00
clock.c ARM: 6359/1: ep93xx: move clock initialization earlier 2010-09-08 12:28:39 +01:00
core.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6 2010-08-07 17:07:31 -07:00
dma-m2p.c ARM: 6440/1: ep93xx: DMA: fix channel_disable 2010-10-12 22:43:19 +01:00
edb93xx.c ARM: 6168/1: ep93xx: move physmap flash registration into core.c 2010-06-16 22:56:05 +01:00
gesbc9312.c ARM: 6168/1: ep93xx: move physmap flash registration into core.c 2010-06-16 22:56:05 +01:00
gpio.c ARM: 6029/1: ep93xx: gpio.c: local functions should be static 2010-04-07 21:11:28 +01:00
Kconfig ARM: 5937/1: Add support for EP9315 based Snapper CL15 board 2010-02-15 19:40:50 +00:00
Makefile ARM: 5937/1: Add support for EP9315 based Snapper CL15 board 2010-02-15 19:40:50 +00:00
Makefile.boot ARM: 5744/1: ep93xx: add remaining phys offset selections 2009-10-07 13:11:56 +01:00
micro9.c ARM: 6168/1: ep93xx: move physmap flash registration into core.c 2010-06-16 22:56:05 +01:00
simone.c ARM: 6168/1: ep93xx: move physmap flash registration into core.c 2010-06-16 22:56:05 +01:00
snappercl15.c ASoC: EP93xx: Add Snapper CL15 i2s audio support 2010-06-09 11:16:18 +01:00
ts72xx.c ARM: 6168/1: ep93xx: move physmap flash registration into core.c 2010-06-16 22:56:05 +01:00