omap2_mcspi: change default DMA_MIN_BYTES value to 160
diff mbox

Message ID 1271063274-13222-1-git-send-email-roman.tereshonkov@nokia.com
State Accepted
Headers show

Commit Message

Roman Tereshonkov April 12, 2010, 9:07 a.m. UTC
None

Patch
diff mbox

diff --git a/drivers/spi/omap2_mcspi.c b/drivers/spi/omap2_mcspi.c
index a9d58ce..d24a05e 100644
--- a/drivers/spi/omap2_mcspi.c
+++ b/drivers/spi/omap2_mcspi.c
@@ -112,7 +112,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 {