[PATCH] SPI: devices can require LSB-first encodings
commitccf77cc4af5b048e20cfd9327fcc286cb69c34cc
authorDavid Brownell <david-b@pacbell.net>
Mon, 3 Apr 2006 22:46:22 +0000 (3 15:46 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 16 May 2006 21:33:57 +0000 (16 14:33 -0700)
tree0a19a6948fe8bbf2128010a655e170ffebc9d8b8
parentff9f4771b5f017ee0f57629488b6cd7a6ef3d19b
[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