Guennadi Liakhovetski 9dabb3f326 spi/spi_sh_msiof: consolidate data in 8-bit mode into 32-bit words
Instead of sending data 8 bits at a time in 8-bit SPI mode, swap bytes
and send and receive them 32 bits at a time. Tested with an SD-card,
with which this patch reduced the number of interrupts by 50%, when
reading 5MiB of data (there are also small service packets, the number
of interrupts, produced by 512-byte sectors should, of course, drop by
75%), and improved throughput by more than 40%.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
2011-01-21 10:02:35 -07:00
..
2011-01-13 08:03:09 -08:00
2011-01-18 12:22:54 -08:00
2011-01-17 11:15:30 -08:00
2010-12-04 11:18:25 -05:00
2011-01-12 04:59:44 -05:00
2011-01-14 12:38:16 +01:00
2011-01-10 08:51:44 -08:00
2011-01-12 05:14:15 -05:00