diff options
author | Anatolij Gustschin <agust@denx.de> | 2011-06-01 18:36:49 +0200 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2011-06-03 23:01:14 +0200 |
commit | 8c99268431a117207a89be5167ecd69429fd4bda (patch) | |
tree | d5c288a5b473be7fd5bc23b396ed42cbaf8f81dd /drivers/spi/spi-gpio.c | |
parent | spi/omap2: fix uninitialized variable (diff) | |
download | linux-8c99268431a117207a89be5167ecd69429fd4bda.tar.xz linux-8c99268431a117207a89be5167ecd69429fd4bda.zip |
spi/bitbang: initialize bits_per_word as specified by spi message
SPI protocol drivers can submit messages specifying needed bits_per_word
parameter for a message transfer. The bitbang driver currently ignores
bits_per_word given by a singe message and always uses master's
bits_per_word parameter. Only use master's bits_per_word when a
message didn't specify needed bits_per_word for ongoing transfer.
Signed-off-by: Anatolij Gustschin <agust@denx.de>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'drivers/spi/spi-gpio.c')
0 files changed, 0 insertions, 0 deletions