]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[PATCH] ARM: OMAP: omap2_mcspi: use the per transfer wordsize and speed overrides
authorImre Deak <imre.deak@nokia.com>
Mon, 15 May 2006 09:16:39 +0000 (02:16 -0700)
committerTony Lindgren <tony@atomide.com>
Mon, 15 May 2006 09:16:39 +0000 (02:16 -0700)
commit173f6c83c74b9ffdabca33c6f6b334a118b28321
treed7fee3f30a5b544070ce4d008a60dfd0eafe3127
parentb2a19bf4595bd083b2077868b57d56437d8883fa
[PATCH] ARM: OMAP: omap2_mcspi: use the per transfer wordsize and speed overrides

Each transfer in an SPI message can have its wordsize and speed override.
Add a omap2_mcspi_setup_transfer to handle this.

Interpret spi->bits_per_word == 0 as a default wordsize of 8.

Signed-off-by: Imre Deak <imre.deak@nokia.com>
drivers/spi/omap2_mcspi.c