]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] SPI doc clarifications
authorDavid Brownell <david-b@pacbell.net>
Mon, 12 Feb 2007 08:52:46 +0000 (00:52 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Mon, 12 Feb 2007 17:48:31 +0000 (09:48 -0800)
commite85da660cb0dcfc5bab7f92ad96360f273f05a47
treede7ce4def3bb48c1125b0aaf505ec29df9924e42
parentdb2b30c84c4ac7f4319e4f62d5ee2f987208625a
[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