diff options
author | 2019-09-26 13:51:34 +0300 | |
---|---|---|
committer | 2019-10-15 11:43:50 +0100 | |
commit | ec3fa72fa8404128771a095d5a56b738752ba9ff (patch) | |
tree | 931066986bdf4846febe13e6ef64f9f4188b3cba /tools/perf/scripts/python/export-to-postgresql.py | |
parent | spi: orion: use new `word_delay` field for SPI transfers (diff) | |
download | wireguard-linux-ec3fa72fa8404128771a095d5a56b738752ba9ff.tar.xz wireguard-linux-ec3fa72fa8404128771a095d5a56b738752ba9ff.zip |
spi: spidev: use new `word_delay` field for spi transfers
The `word_delay` field had it's type changed to `struct spi_delay`.
This allows users to specify nano-second or clock-cycle delays (if needed).
Converting to use `word_delay` is straightforward: it's just assigning the
value to `word_delay.value` and hard-coding the `word_delay.unit` to
`SPI_DELAY_UNIT_USECS`
This keeps the uapi for spidev un-changed. Changing it can be part of
another changeset and discussion.
Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com>
Link: https://lore.kernel.org/r/20190926105147.7839-7-alexandru.ardelean@analog.com
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