]> git.karo-electronics.de Git - linux-beck.git/commit
spi_s3c24xx: add FIQ pseudo-DMA support
authorBen Dooks <ben@simtec.co.uk>
Tue, 15 Dec 2009 06:20:24 +0000 (22:20 -0800)
committerGrant Likely <grant.likely@secretlab.ca>
Thu, 17 Dec 2009 15:57:01 +0000 (08:57 -0700)
commitbec0806cfec6ded1a7e097bb95279e521a796129
treef4be92d1c09a1785ea693d9f99ad2dbfc26bbbac
parente24c745272072fd2abe55209f1949b7b7ee602a7
spi_s3c24xx: add FIQ pseudo-DMA support

Add pseudo-DMA by FIQ to the S3C24XX SPI driver.  This allows the driver
to get DMA-like performance where there are either no free DMA channels or
when doing transfers that required both TX and RX data paths.

Since this patch requires the addition of an assembly file to hold the FIQ
code, we rename the module (instead of adding a rename of the .c file to
this patch).  We expect most users are loading this via udev and thus
there should be no change to the userland configuration.

Signed-off-by: Ben Dooks <ben@simtec.co.uk>
Signed-off-by: Simtec Linux Team <linux@simtec.co.uk>
Cc: David Brownell <david-b@pacbell.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
arch/arm/mach-s3c2410/include/mach/spi.h
drivers/spi/Kconfig
drivers/spi/Makefile
drivers/spi/spi_s3c24xx.c
drivers/spi/spi_s3c24xx_fiq.S [new file with mode: 0644]
drivers/spi/spi_s3c24xx_fiq.h [new file with mode: 0644]