]> git.karo-electronics.de Git - linux-beck.git/commit
spi: s3c64xx: added support for polling mode
authorGirish K S <girishks2000@gmail.com>
Mon, 20 May 2013 06:51:32 +0000 (12:21 +0530)
committerMark Brown <broonie@linaro.org>
Wed, 19 Jun 2013 18:07:42 +0000 (19:07 +0100)
commit7e9955567eadb83642be55e6ae5853412dd48d14
treedc4077a1d01bd7c87d52892bb7a99b91862f75d9
parent7d132055814ef17a6c7b69f342244c410a5e000f
spi: s3c64xx: added support for polling mode

The 64xx spi driver supports partial polling mode.
Only the last chunk of the transfer length is transferred
or recieved in polling mode.

Some SoC's that adopt this controller might not have have dma
interface. This patch adds support for complete polling mode
and gives flexibity for the user to select poll/dma mode.

Signed-off-by: Girish K S <ks.giri@samsung.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/spi/spi-s3c64xx.c