summaryrefslogtreecommitdiffstats
path: root/drivers/spi/spi-loopback-test.c
diff options
context:
space:
mode:
authorFrode Isaksen <fisaksen@baylibre.com>2017-03-21 16:48:46 +0100
committerMark Brown <broonie@kernel.org>2017-03-21 19:44:40 +0100
commit9006a7b3220e7293ef8bc1ac9bba6c54411051c1 (patch)
tree1f012b8ffd8d3f47f39e4da7b1f1b9b17a44e09c /drivers/spi/spi-loopback-test.c
parentMerge remote-tracking branches 'spi/topic/spidev', 'spi/topic/sunxi', 'spi/to... (diff)
downloadlinux-9006a7b3220e7293ef8bc1ac9bba6c54411051c1.tar.xz
linux-9006a7b3220e7293ef8bc1ac9bba6c54411051c1.zip
spi: spidev_test: add option to continuously transfer data
Add option to send+recv <size> bytes with <iter> iterations and show the transfer rate every 5 seconds. Example: rate: tx 4235.2kbps, rx 4235.2kbps total: tx 4882.8KB, rx 4882.8KB Signed-off-by: Frode Isaksen <fisaksen@baylibre.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/spi-loopback-test.c')
0 files changed, 0 insertions, 0 deletions