spi/s3c64xx: Prevent unnecessary map-unmap
authorJassi Brar <jassi.brar@samsung.com>
Wed, 29 Sep 2010 08:31:31 +0000 (17:31 +0900)
committerGrant Likely <grant.likely@secretlab.ca>
Wed, 29 Sep 2010 08:31:31 +0000 (17:31 +0900)
commite02ddd442a532c73e547ae3735c8012e3bd719a5
tree68343f5c171c15286c275d40dd2bc2577daa5845
parent4a4fd47155ac49b62de5177a780c245e967752f3
spi/s3c64xx: Prevent unnecessary map-unmap

Since we use DMA mode only for xfers bigger than FIFO size,
do not map/unmap buffers for polling mode transfers.

Signed-off-by: Jassi Brar <jassi.brar@samsung.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
drivers/spi/spi_s3c64xx.c