diff options
author | Qipan Li <Qipan.Li@csr.com> | 2013-08-25 21:42:50 +0800 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2013-08-26 13:00:14 +0100 |
commit | 692fb0fe5aacea861e4006342029cf505a7dbe18 (patch) | |
tree | 34e0abbfe07112687885f2097fa893fc7f3b7b12 /Kconfig | |
parent | 6cca9e2dd01adfa46a3b81f54f80d318714da418 (diff) | |
download | linux-stable-692fb0fe5aacea861e4006342029cf505a7dbe18.tar.gz linux-stable-692fb0fe5aacea861e4006342029cf505a7dbe18.tar.bz2 linux-stable-692fb0fe5aacea861e4006342029cf505a7dbe18.zip |
spi/sirf: fix the misunderstanding about len of spi_transfer
the unit of len of spi_transfer is in bytes, not in spi words. the
old codes misunderstood that and thought the len is the amount of
spi words. but it is actually how many bytes existing in the spi
buffer.
this patch fixes that and also rename left_tx_cnt and left_rx_cnt
to left_tx_word and left_rx_word to highlight they are in words.
Signed-off-by: Qipan Li <Qipan.Li@csr.com>
Signed-off-by: Barry Song <Baohua.Song@csr.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'Kconfig')
0 files changed, 0 insertions, 0 deletions