[OpenWrt-Devel] [PATCH 10/23] ar71xx: refresh 431-spi-add-various-flags.patch

Zhao, Gang gang.zhao.42 at gmail.com
Fri Jul 25 22:48:45 EDT 2014


Signed-off-by: Zhao, Gang <gang.zhao.42 at gmail.com>
---
 .../ar71xx/patches-3.14/431-spi-add-various-flags.patch    | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/target/linux/ar71xx/patches-3.14/431-spi-add-various-flags.patch b/target/linux/ar71xx/patches-3.14/431-spi-add-various-flags.patch
index dca3366..2c1bc8e 100644
--- a/target/linux/ar71xx/patches-3.14/431-spi-add-various-flags.patch
+++ b/target/linux/ar71xx/patches-3.14/431-spi-add-various-flags.patch
@@ -1,15 +1,15 @@
 --- a/include/linux/spi/spi.h
 +++ b/include/linux/spi/spi.h
-@@ -519,6 +519,8 @@ struct spi_transfer {
- 	dma_addr_t	rx_dma;
- 
+@@ -583,6 +583,8 @@ struct spi_transfer {
  	unsigned	cs_change:1;
+ 	unsigned	tx_nbits:3;
+ 	unsigned	rx_nbits:3;
 +	unsigned	verify:1;
 +	unsigned	fast_write:1;
- 	u8		bits_per_word;
- 	u16		delay_usecs;
- 	u32		speed_hz;
-@@ -560,6 +562,7 @@ struct spi_message {
+ #define	SPI_NBITS_SINGLE	0x01 /* 1bit transfer */
+ #define	SPI_NBITS_DUAL		0x02 /* 2bits transfer */
+ #define	SPI_NBITS_QUAD		0x04 /* 4bits transfer */
+@@ -627,6 +629,7 @@ struct spi_message {
  	struct spi_device	*spi;
  
  	unsigned		is_dma_mapped:1;
-- 
1.9.3
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list