mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-03 12:56:44 +07:00
10d48b3934
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> |
||
---|---|---|
.. | ||
include/mach | ||
adssphere.c | ||
clock.c | ||
core.c | ||
dma-m2p.c | ||
edb93xx.c | ||
gesbc9312.c | ||
gpio.c | ||
Kconfig | ||
Makefile | ||
Makefile.boot | ||
micro9.c | ||
simone.c | ||
snappercl15.c | ||
ts72xx.c |