[PATCH] SPI doc clarifications
commit802245611adea5e5877d8c5d9a20f94d8131bfdd
authorDavid Brownell <david-b@pacbell.net>
Mon, 12 Feb 2007 08:52:46 +0000 (12 00:52 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Mon, 12 Feb 2007 17:48:31 +0000 (12 09:48 -0800)
treede7ce4def3bb48c1125b0aaf505ec29df9924e42
parent0ffa0285052607513a29f529ddb5061c907fd8a6
[PATCH] SPI doc clarifications

This clarifies some aspects of the SPI programming interface, based on
feedback from Hans-Peter Nilsson.  The in-memory representation of words is
right-aligned, so for example a twelve bit word is stored using sixteen bits
with four undefined bits in the MSB.  And controller drivers must reject
protocol tweaking modes they do not support.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/spi/spi.h