change SPI_BUFSIZ for spi_dpram and spi_uart
authorluowei <lw@rock-chips.com>
Mon, 23 Aug 2010 12:54:52 +0000 (20:54 +0800)
committerluowei <lw@rock-chips.com>
Mon, 23 Aug 2010 12:54:52 +0000 (20:54 +0800)
drivers/spi/spi.c

index b76f2468a84a10d6afa8f6a583b1e9bb44c79bc3..1d3ba252453d44e98a6706b6582fa9781db45958 100644 (file)
@@ -774,7 +774,7 @@ int spi_sync(struct spi_device *spi, struct spi_message *message)
 EXPORT_SYMBOL_GPL(spi_sync);
 
 /* portable code must never pass more than 32 bytes */
-#define        SPI_BUFSIZ      max(32,SMP_CACHE_BYTES)
+#define        SPI_BUFSIZ      max(1028,SMP_CACHE_BYTES)
 
 static u8      *buf;