From: Cory Maccarrone Date: Sun, 30 May 2010 00:12:23 +0000 (+0000) Subject: SPI100k: Fix 8-bit and RX-only transfers X-Git-Tag: v2.6.36-rc1~19^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5c2818cdfad1973ede3dcd2a8709620a192f8385;p=pandora-kernel.git 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 Signed-off-by: Grant Likely --- Reading git-diff-tree failed