ARM: S3C24XX: DMA: Use valid index when accessing array
authorRamax Lo <ramaxlo@gmail.com>
Tue, 8 Dec 2009 15:42:41 +0000 (23:42 +0800)
committerBen Dooks <ben-linux@fluff.org>
Tue, 8 Dec 2009 23:09:05 +0000 (23:09 +0000)
The DMA_CH_VALID bit used in the channel index should be masked out before
using it to access the channel array.

Signed-off-by: Ramax Lo <ramaxlo@gmail.com>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>

No differences found