projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fffd7eb
)
change SPI_BUFSIZ for spi_dpram and spi_uart
author
luowei
<lw@rock-chips.com>
Mon, 23 Aug 2010 12:54:52 +0000
(20:54 +0800)
committer
luowei
<lw@rock-chips.com>
Mon, 23 Aug 2010 12:54:52 +0000
(20:54 +0800)
drivers/spi/spi.c
patch
|
blob
|
history
diff --git
a/drivers/spi/spi.c
b/drivers/spi/spi.c
index b76f2468a84a10d6afa8f6a583b1e9bb44c79bc3..1d3ba252453d44e98a6706b6582fa9781db45958 100644
(file)
--- a/
drivers/spi/spi.c
+++ b/
drivers/spi/spi.c
@@
-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;