]> git.baikalelectronics.ru Git - kernel.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)
commit502a377ee7bb5187b071062fd0204980240c3d06
treef4be92d1c09a1785ea693d9f99ad2dbfc26bbbac
parentef3ffe4d65c97c9ca246a0e2ffa772871865f7d0
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]