diff options
author | Qipan Li <[email protected]> | 2013-08-25 21:42:50 +0800 |
---|---|---|
committer | Mark Brown <[email protected]> | 2013-08-26 13:00:14 +0100 |
commit | 692fb0fe5aacea861e4006342029cf505a7dbe18 (patch) | |
tree | 34e0abbfe07112687885f2097fa893fc7f3b7b12 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 6cca9e2dd01adfa46a3b81f54f80d318714da418 (diff) |
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 <[email protected]>
Signed-off-by: Barry Song <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions