original_kernel/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
Kconfig
Makefile
Makefile.boot
adssphere.c
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
gesbc9312.c
gpio.c
micro9.c
simone.c
snappercl15.c
ts72xx.c