diff options
author | Ben Dooks <ben@simtec.co.uk> | 2009-02-26 21:56:25 +0000 |
---|---|---|
committer | Andy Green <agreen@octopus.localdomain> | 2009-02-26 21:56:25 +0000 |
commit | f159d1c43b70fe774fec37ad31bd8007cc9b973f (patch) | |
tree | 57927ca44cf6bc1caa5fb47704f9d953742b8141 | |
parent | e049602ca1658d89956cb2a0f7b73f5e0887f929 (diff) |
S3C64XX: Fix DMA channel numbers
The I2S TX and RX channels where reversed. Also add
implicit numbers to the start of the two DMA controllers.
Signed-off-by: Ben Dooks <ben@simtec.co.uk>
-rw-r--r-- | arch/arm/mach-s3c6400/include/mach/dma.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/mach-s3c6400/include/mach/dma.h b/arch/arm/mach-s3c6400/include/mach/dma.h index 0c0d0e05e1a..dd6ccaf3145 100644 --- a/arch/arm/mach-s3c6400/include/mach/dma.h +++ b/arch/arm/mach-s3c6400/include/mach/dma.h @@ -21,7 +21,7 @@ */ enum dma_ch { /* DMA0/SDMA0 */ - DMACH_UART0, + DMACH_UART0 = 0, DMACH_UART0_SRC2, DMACH_UART1, DMACH_UART1_SRC2, @@ -39,10 +39,10 @@ enum dma_ch { DMACH_HSI_I2SV40_RX, /* DMA1/SDMA1 */ - DMACH_PCM1_TX, + DMACH_PCM1_TX = 16, DMACH_PCM1_RX, - DMACH_I2S1_IN, DMACH_I2S1_OUT, + DMACH_I2S1_IN, DMACH_SPI1_TX, DMACH_SPI1_RX, DMACH_AC97_PCMOUT, |