Revision 4cff33f94fefcce1b3c01a9d1da6bb85fe3cbdfa authored by Imre Deak on 17 February 2006, 18:02:18 UTC, committed by Greg Kroah-Hartman on 16 May 2006, 21:33:56 UTC
Some protocols (like one for some bitmap displays) require different clock
speed or word size settings for each transfer in an SPI message. This adds
those parameters to struct spi_transfer.  They are to be used when they are
nonzero; otherwise the defaults from spi_device are to be used.

The patch also adds a setup_transfer callback to spi_bitbang, uses it for
messages that use those overrides, and implements it so that the pure
bitbanging code can help resolve any questions about how it should work.

Signed-off-by: Imre Deak <imre.deak@nokia.com>
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
1 parent 716f895
History

back to top