spi: spidev: Enable control of inter-word delays
authorJan Kundrát <jan.kundrat@cesnet.cz>
Thu, 7 Mar 2019 14:29:42 +0000 (15:29 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 18 Mar 2019 12:18:28 +0000 (12:18 +0000)
commit2ed6692e8ce924346c3aab5585b07005adb30625
tree9c77ba50e365714bc1d4e5cfd5dfee6382cc416b
parent4e3891a55f671a4e641d2ef4e5ec0e27e56b20d9
spi: spidev: Enable control of inter-word delays

Commit b7bb367afa4b added support for inserting delays in between
individual words within a single SPI transaction. This makes it
accessible from userspace.

WARNING: This delay is silently ignored unless the SPI controller
implements extra support for it. This is similar to how the in-kernel
users handle the other existing property, spi_transfer->word_delay.

Signed-off-by: Jan Kundrát <jan.kundrat@cesnet.cz>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spidev.c
include/uapi/linux/spi/spidev.h