]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
SPI: add 3wire mode flag
authorDavid Brownell <david-b@pacbell.net>
Tue, 17 Jul 2007 11:04:03 +0000 (04:04 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 17 Jul 2007 17:23:04 +0000 (10:23 -0700)
commitc06e677aed0c86480b01faa894967daa8aa3568a
tree804eaf65f578d25309d546592ada439d168d19b0
parentdccd573bb02aa011a4a7146c02c409ac0bd722a0
SPI: add 3wire mode flag

Add a new spi->mode bit: SPI_3WIRE, for chips where the SI and SO signals
are shared (and which are thus only half duplex).  Update the LM70 driver
to require support for that hardware mode from the controller.

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>
drivers/hwmon/lm70.c
include/linux/spi/spi.h