summaryrefslogtreecommitdiff
path: root/drivers/spi/Kconfig
diff options
context:
space:
mode:
authorQipan Li <Qipan.Li@csr.com>2013-08-25 17:42:50 +0400
committerMark Brown <broonie@linaro.org>2013-08-26 16:00:14 +0400
commit692fb0fe5aacea861e4006342029cf505a7dbe18 (patch)
tree34e0abbfe07112687885f2097fa893fc7f3b7b12 /drivers/spi/Kconfig
parent6cca9e2dd01adfa46a3b81f54f80d318714da418 (diff)
downloadlinux-692fb0fe5aacea861e4006342029cf505a7dbe18.tar.xz
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 'drivers/spi/Kconfig')
0 files changed, 0 insertions, 0 deletions