ARM: S3C64XX: Clear DMA flags on channel request
authorCharles Keepax <ckeepax@opensource.wolfsonmicro.com>
Thu, 4 Apr 2013 05:37:57 +0000 (14:37 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Thu, 4 Apr 2013 06:17:09 +0000 (15:17 +0900)
commitf6281dbe4a92fe7d6758853d8db5f53a67bc9709
tree91c582d5eed00595f9d0ef7d26096ae12e080120
parent8521420375d0e6824a76fda24677f428c1d3f598
ARM: S3C64XX: Clear DMA flags on channel request

This patch clears the DMA flags when a DMA channel is requested. This is
necessary because otherwise the channel may inherit incompatible
settings from its last usage.

Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/mach-s3c64xx/dma.c