summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoman Tereshonkov <roman.tereshonkov@nokia.com>2010-04-12 09:07:54 +0000
committerGrant Likely <grant.likely@secretlab.ca>2010-05-25 00:23:14 -0600
commit8b66c13474e1683d53255f3b2948231b61cdaefd (patch)
treec015b3bd611803b688c5d7816a52ff0abe93d5dd
parent4a12404ddaa06e8ec5e2c0d8ece4d821281e6024 (diff)
downloadlinux-3.10-8b66c13474e1683d53255f3b2948231b61cdaefd.tar.gz
linux-3.10-8b66c13474e1683d53255f3b2948231b61cdaefd.tar.bz2
linux-3.10-8b66c13474e1683d53255f3b2948231b61cdaefd.zip
spi/omap2_mcspi: change default DMA_MIN_BYTES value to 160
The value 160 has been obtained as optimal in testing it for wl1271 which use spi for communication. In some sense this change might also influence on other spi devices connected to omap2_mcspi controller. Signed-off-by: Roman Tereshonkov <roman.tereshonkov@nokia.com> Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
-rw-r--r--drivers/spi/omap2_mcspi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/omap2_mcspi.c b/drivers/spi/omap2_mcspi.c
index e0de0d0eede..e6d08b84415 100644
--- a/drivers/spi/omap2_mcspi.c
+++ b/drivers/spi/omap2_mcspi.c
@@ -113,7 +113,7 @@ struct omap2_mcspi_dma {
/* use PIO for small transfers, avoiding DMA setup/teardown overhead and
* cache operations; better heuristics consider wordsize and bitrate.
*/
-#define DMA_MIN_BYTES 8
+#define DMA_MIN_BYTES 160
struct omap2_mcspi {