]> git.baikalelectronics.ru Git - kernel.git/commit
Xilinx: SPI: Fix bits_per_word for transfers
authorJohn Linn <john.linn@xilinx.com>
Mon, 14 Sep 2009 08:17:05 +0000 (08:17 +0000)
committerGrant Likely <grant.likely@secretlab.ca>
Wed, 4 Nov 2009 23:42:47 +0000 (16:42 -0700)
commit000af66131bb54e0570e9f728a9d86d1e69ae7e4
treec29b546b014acb28e5d6a424a5abeed75c8279eb
parent873105b988952886ed457d7c75db3ae9b881fb06
Xilinx: SPI: Fix bits_per_word for transfers

The bits_per_word value can be set for each transfer, or can
be set to zero in each transfer in which case it should default
to the value in the driver.

The driver was fixed to properly check the bits_per_word in
the transfer that is passed in.

Signed-off-by: John Linn <john.linn@xilinx.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
drivers/spi/xilinx_spi.c