ARM: S3C24XX: DMA resume regression fix
authorGusakov Andrey <dron0gus@gmail.com>
Fri, 2 Mar 2012 22:32:36 +0000 (07:32 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Fri, 2 Mar 2012 22:36:59 +0000 (07:36 +0900)
commite39d40c65dfd8390b50c03482ae9e289b8a8f351
tree1bc74f07ed2e213f647853915950362f72dcfb46
parentc1ba544f81544ed9613ad5d058968533dbcef4b2
ARM: S3C24XX: DMA resume regression fix

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>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/plat-s3c24xx/dma.c