]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ARM: S3C24XX: DMA resume regression fix
authorGusakov Andrey <dron0gus@gmail.com>
Fri, 2 Mar 2012 22:32:36 +0000 (07:32 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 12 Mar 2012 17:32:55 +0000 (10:32 -0700)
commit0cd0b02bfce1497e21e11b33311fd4da6d10ea55
tree5e297a7c5659e220c76fcbd8a339011f2a1d20e5
parentc847ac8e8e7447730aef70b94915f1c0880e6578
ARM: S3C24XX: DMA resume regression fix

commit e39d40c65dfd8390b50c03482ae9e289b8a8f351 upstream.

s3c2410_dma_suspend suspends channels from 0 to dma_channels.
s3c2410_dma_resume resumes channels in reverse order. So
pointer should be decremented instead of being incremented.

Signed-off-by: Gusakov Andrey <dron0gus@gmail.com>
Reviewed-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm/plat-s3c24xx/dma.c