summaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorQipan Li <Qipan.Li@csr.com>2013-08-25 21:42:50 +0800
committerMark Brown <broonie@linaro.org>2013-08-26 13:00:14 +0100
commit692fb0fe5aacea861e4006342029cf505a7dbe18 (patch)
tree34e0abbfe07112687885f2097fa893fc7f3b7b12 /drivers/net
parent6cca9e2dd01adfa46a3b81f54f80d318714da418 (diff)
downloadlinux-692fb0fe5aacea861e4006342029cf505a7dbe18.tar.gz
linux-692fb0fe5aacea861e4006342029cf505a7dbe18.tar.bz2
linux-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 'drivers/net')
0 files changed, 0 insertions, 0 deletions