spi/s3c64xx: Add support DMA engine API
authorBoojin Kim <boojin.kim@samsung.com>
Fri, 2 Sep 2011 00:44:41 +0000 (09:44 +0900)
committerVinod Koul <vinod.koul@intel.com>
Wed, 14 Sep 2011 05:40:03 +0000 (11:10 +0530)
commit39d3e8074e44c1953928a0b91bc328f552c5fc79
treeb7cf213415d43309a71e4366d5a9a6da93d0d8ee
parent978ce50dd5cfd93380ded89d61de9d8109ebd814
spi/s3c64xx: Add support DMA engine API

This patch adds to support DMA generic API to transfer raw
SPI data. Basiclly the spi driver uses DMA generic API if
architecture supports it. Otherwise, uses Samsung specific
S3C-PL330 APIs.

Signed-off-by: Boojin Kim <boojin.kim@samsung.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Vinod Koul <vinod.koul@intel.com>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/spi/spi-s3c64xx.c