diff options
author | Cory Maccarrone <darkstar6262@gmail.com> | 2010-05-30 04:12:23 +0400 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2010-07-04 08:45:44 +0400 |
commit | 5c2818cdfad1973ede3dcd2a8709620a192f8385 (patch) | |
tree | c23de1403063aaff5e489636bee97ef7715514a8 /drivers/spi/spi_butterfly.c | |
parent | 4751c1c74bc7b596db5de0c93be1a22a570145c0 (diff) | |
download | linux-5c2818cdfad1973ede3dcd2a8709620a192f8385.tar.xz |
SPI100k: Fix 8-bit and RX-only transfers
This change fixes 8-bit transfers and RX-only transfers. The
SPI100k framework requires minimum 16-bit words to be written, so 8-bit
transfers must be shited by 8 bits and sent out as a 16-bit word.
Additionally, receive-only transfers were failing due to the
perceived need to fill the TX buffer with something. This is in
fact not needed.
Signed-off-by: Cory Maccarrone <darkstar6262@gmail.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'drivers/spi/spi_butterfly.c')
0 files changed, 0 insertions, 0 deletions