aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/patches-2.6.36/151-spi-add-various-flags.patch
diff options
context:
space:
mode:
authorAlexandros C. Couloumbis <alex@ozo.com>2010-10-08 12:10:18 +0000
committerAlexandros C. Couloumbis <alex@ozo.com>2010-10-08 12:10:18 +0000
commit458e8736fc0646f892b77f50e80a24579058bb71 (patch)
treee494f3d2404aa25abfad2345748c0f85dc328678 /target/linux/ar71xx/patches-2.6.36/151-spi-add-various-flags.patch
parent38e3474542eded63b16cf90a60eb5fa1ec2b9dcf (diff)
downloadupstream-458e8736fc0646f892b77f50e80a24579058bb71.tar.gz
upstream-458e8736fc0646f892b77f50e80a24579058bb71.tar.bz2
upstream-458e8736fc0646f892b77f50e80a24579058bb71.zip
linux/ar71xx: add preliminary 2.6.36 kernel support (refresh patches)
SVN-Revision: 23317
Diffstat (limited to 'target/linux/ar71xx/patches-2.6.36/151-spi-add-various-flags.patch')
-rw-r--r--target/linux/ar71xx/patches-2.6.36/151-spi-add-various-flags.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/target/linux/ar71xx/patches-2.6.36/151-spi-add-various-flags.patch b/target/linux/ar71xx/patches-2.6.36/151-spi-add-various-flags.patch
new file mode 100644
index 0000000000..b72fd51941
--- /dev/null
+++ b/target/linux/ar71xx/patches-2.6.36/151-spi-add-various-flags.patch
@@ -0,0 +1,19 @@
+--- a/include/linux/spi/spi.h
++++ b/include/linux/spi/spi.h
+@@ -438,6 +438,8 @@ struct spi_transfer {
+ dma_addr_t rx_dma;
+
+ unsigned cs_change:1;
++ unsigned verify:1;
++ unsigned fast_write:1;
+ u8 bits_per_word;
+ u16 delay_usecs;
+ u32 speed_hz;
+@@ -479,6 +481,7 @@ struct spi_message {
+ struct spi_device *spi;
+
+ unsigned is_dma_mapped:1;
++ unsigned fast_read:1;
+
+ /* REVISIT: we might want a flag affecting the behavior of the
+ * last transfer ... allowing things like "read 16 bit length L"