diff options
| author | Alexandru Ardelean <[email protected]> | 2019-09-26 13:51:41 +0300 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2019-10-15 11:45:29 +0100 |
| commit | 8e319dd5f1ebbc1fffa9e550b2a643cbce7515b1 (patch) | |
| tree | 5b2ae2f32d89ec46f23bf69511828392fa9e746a /tools/perf/scripts/python/mem-phys-addr.py | |
| parent | 867bd8868bbd16e17bbd26c5959abc3118902218 (diff) | |
spi: spidev: use new `delay` field for spi transfers
The `delay` field has type `struct spi_delay`.
This allows users to specify nano-second or clock-cycle delays (if needed).
Converting to use `delay` is straightforward: it's just assigning the
value to `delay.value` and hard-coding the `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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions