diff options
| author | Sergiu Cuciurean <[email protected]> | 2020-02-27 12:09:32 +0000 |
|---|---|---|
| committer | Moritz Fischer <[email protected]> | 2020-04-30 03:37:08 +0000 |
| commit | 1493674ba3c0f0d48f5f1bdd8a32cbc3bb7be619 (patch) | |
| tree | 9a8b4e7d9156f7d388f708136a810c9c1fbdc958 /drivers/fpga/machxo2-spi.c | |
| parent | fpga: dfl: support multiple opens on feature device node. (diff) | |
| download | kernel-1493674ba3c0f0d48f5f1bdd8a32cbc3bb7be619.tar.gz kernel-1493674ba3c0f0d48f5f1bdd8a32cbc3bb7be619.zip | |
fpga: ice40-spi: Use new structure for SPI transfer delays
In a recent change to the SPI subsystem [1], a new `delay` struct was added
to replace the `delay_usecs`. This change replaces the current
`delay_usecs` with `delay` for this driver.
The `spi_transfer_delay_exec()` function [in the SPI framework] makes sure
that both `delay_usecs` & `delay` are used (in this order to preserve
backwards compatibility).
[1] commit bebcfd272df6 ("spi: introduce `delay` field for
`spi_transfer` + spi_transfer_delay_exec()")
Signed-off-by: Sergiu Cuciurean <[email protected]>
Signed-off-by: Moritz Fischer <[email protected]>
Diffstat (limited to 'drivers/fpga/machxo2-spi.c')
0 files changed, 0 insertions, 0 deletions
