diff options
author | Ben Dooks <ben-linux@fluff.org> | 2006-08-18 15:32:10 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2006-08-18 15:32:10 +0100 |
commit | f57e1abd1bb297994c7398478b4c37e628095243 (patch) | |
tree | f25447fd37bf0b56c5aa8b197570ac802d8ac904 /include/asm-arm | |
parent | a0c5a64552e3c57d7f9eb593c6ce21a285ac86b4 (diff) | |
download | kernel_samsung_smdk4412-f57e1abd1bb297994c7398478b4c37e628095243.tar.gz kernel_samsung_smdk4412-f57e1abd1bb297994c7398478b4c37e628095243.tar.bz2 kernel_samsung_smdk4412-f57e1abd1bb297994c7398478b4c37e628095243.zip |
[ARM] 3753/1: S3C24XX: DMA fixes
Patch from Ben Dooks
A number of small issues with the S3C24XX DMA have
cropped up, which this patch fixes. These are:
- check wether we can load another buff in start
- update state handling in s3c2410_dma_lastxfer
- only reload in irq if channel is not idle
- more informative timeout errors (add source)
- do not call request_irq() with irqs locked
- added waitforstop function
The patch also adds a S3C2410_DMAOP_STARTED for
the occasions when the driver wants to ensure that
the DMA system load state is resynced after loading.
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'include/asm-arm')
-rw-r--r-- | include/asm-arm/arch-s3c2410/dma.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-arm/arch-s3c2410/dma.h b/include/asm-arm/arch-s3c2410/dma.h index 72964f9b841..7463fd5252c 100644 --- a/include/asm-arm/arch-s3c2410/dma.h +++ b/include/asm-arm/arch-s3c2410/dma.h @@ -104,6 +104,7 @@ enum s3c2410_chan_op_e { S3C2410_DMAOP_RESUME, S3C2410_DMAOP_FLUSH, S3C2410_DMAOP_TIMEOUT, /* internal signal to handler */ + S3C2410_DMAOP_STARTED, /* indicate channel started */ }; typedef enum s3c2410_chan_op_e s3c2410_chan_op_t; |