diff options
author | Santosh Shilimkar <santosh.shilimkar@ti.com> | 2009-12-11 06:10:25 +0530 |
---|---|---|
committer | Santosh Shilimkar <santosh.shilimkar@ti.com> | 2009-12-17 23:02:24 +0530 |
commit | 04c5228f5955c3e70aca60681e86a3db73261ec7 (patch) | |
tree | 8695694b869b52f2d02a6442f348ca7780555d23 | |
parent | 9eb893ed898fb1e0f7d863bbc991341ab66a31a3 (diff) |
Revert "OMAP4: flush l2 cache before SPI dma operation"
This reverts commit e351961969285d9069fcca9e22f748bb0f20f71d.
-rw-r--r-- | drivers/spi/omap2_mcspi.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/spi/omap2_mcspi.c b/drivers/spi/omap2_mcspi.c index 601ca0c514ed..3c6454a38624 100644 --- a/drivers/spi/omap2_mcspi.c +++ b/drivers/spi/omap2_mcspi.c @@ -38,7 +38,7 @@ #include <mach/dma.h> #include <mach/clock.h> #include <mach/mcspi.h> -#include <asm/cacheflush.h> + #define OMAP2_MCSPI_MAX_FREQ 48000000 #define OMAP2_MCSPI_MAX_FIFODEPTH 64 @@ -1145,8 +1145,6 @@ static int omap2_mcspi_transfer(struct spi_device *spi, struct spi_message *m) len, DMA_TO_DEVICE); return -EINVAL; } - //dmac_flush_range(rx_buf, rx_buf + t->len); - outer_flush_range(__pa(rx_buf), __pa(rx_buf) + t->len); } } |