aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/spi
diff options
context:
space:
mode:
authorRoman Tereshonkov <roman.tereshonkov@nokia.com>2010-04-12 05:07:54 -0400
committerGrant Likely <grant.likely@secretlab.ca>2010-05-25 02:23:14 -0400
commit8b66c13474e1683d53255f3b2948231b61cdaefd (patch)
treec015b3bd611803b688c5d7816a52ff0abe93d5dd /drivers/spi
parent4a12404ddaa06e8ec5e2c0d8ece4d821281e6024 (diff)
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>
Diffstat (limited to 'drivers/spi')
-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 {
113/* use PIO for small transfers, avoiding DMA setup/teardown overhead and 113/* use PIO for small transfers, avoiding DMA setup/teardown overhead and
114 * cache operations; better heuristics consider wordsize and bitrate. 114 * cache operations; better heuristics consider wordsize and bitrate.
115 */ 115 */
116#define DMA_MIN_BYTES 8 116#define DMA_MIN_BYTES 160
117 117
118 118
119struct omap2_mcspi { 119struct omap2_mcspi {