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 15:01:14 -0600 |
commit | 8c99268431a117207a89be5167ecd69429fd4bda (patch) | |
tree | d5c288a5b473be7fd5bc23b396ed42cbaf8f81dd /drivers/hwmon/ads7828.c | |
parent | 8b20c8cb89b733f5a73fad1f7ad7cff8325e0034 (diff) |
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/hwmon/ads7828.c')
0 files changed, 0 insertions, 0 deletions