Skip to content

Commit

Permalink
spi/omap2_mcspi: change default DMA_MIN_BYTES value to 160
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Roman Tereshonkov authored and Grant Likely committed May 25, 2010
1 parent 4a12404 commit 8b66c13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/spi/omap2_mcspi.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 8b66c13

Please sign in to comment.