[ARM] 4780/1: S3C2412: Allow for seperate DMA channels for TX and RX
authorBen Dooks <ben-linux@fluff.org>
Mon, 28 Jan 2008 12:01:20 +0000 (13:01 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 28 Jan 2008 13:20:50 +0000 (13:20 +0000)
commitc6709e8ef5752314c22c75bc7575f9be390e215b
treeb263b43370faf705141dfee1bd2d8300c00fe2c5
parent67d729adc0e76e21c82a2c59853f25f5f784ca79
[ARM] 4780/1: S3C2412: Allow for seperate DMA channels for TX and RX

The current S3C24XX DMA code does not allow for an peripheral
that has one channel for RX and another for TX.

This patch adds a per-cpu dma operation to select the transmit
or receive channel, and adds support to the S3C2412 for the
seperate DMA channels for TX and RX.

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-s3c2412/dma.c
arch/arm/plat-s3c24xx/dma.c
include/asm-arm/plat-s3c24xx/dma.h