diff options
author | 2019-01-15 21:46:50 +0800 | |
---|---|---|
committer | 2019-01-15 14:16:35 +0000 | |
commit | 63f5ffc46d4f53b309a93b83420b2e4bd0da5aba (patch) | |
tree | fe58b09195fdfa14ede1adde06dcd4e3af473ba2 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | spi: omap2-mcspi: Fix DMA and FIFO event trigger size mismatch (diff) | |
download | wireguard-linux-63f5ffc46d4f53b309a93b83420b2e4bd0da5aba.tar.xz wireguard-linux-63f5ffc46d4f53b309a93b83420b2e4bd0da5aba.zip |
spi: sprd: Fix the error data length in SPI read-only mode
In SPI read-only mode, we will always return the writing length,
which is always the power of "bits_per_word", but the length unit
using by users is byte.
Thus this patch fixes the returning length by getting from
read_bufs() function to get the correct length.
Signed-off-by: Lanqing Liu <lanqing.liu@spreadtrum.com>
Signed-off-by: Baolin Wang <baolin.wang@linaro.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions