]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] SPI: devices can require LSB-first encodings
authorDavid Brownell <david-b@pacbell.net>
Mon, 3 Apr 2006 22:46:22 +0000 (15:46 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 16 May 2006 21:33:57 +0000 (14:33 -0700)
commit7e2b892a2fc41e265866d3de65c47f10d99203d4
tree0a19a6948fe8bbf2128010a655e170ffebc9d8b8
parentb46956c315e5e43ffc443ab1b3e52a37823ebffd
[PATCH] SPI: devices can require LSB-first encodings

Add spi_device hook for LSB-first word encoding, and update all the
(in-tree) controller drivers to reject such devices.  Eventually,
some controller drivers will be updated to support lsb-first encodings
on the wire; no current drivers need this.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/spi/spi_bitbang.c
include/linux/spi/spi.h