diff options
author | Sergiu Cuciurean <sergiu.cuciurean@analog.com> | 2020-02-27 15:24:14 +0100 |
---|---|---|
committer | Moritz Fischer <mdf@kernel.org> | 2020-04-30 05:37:08 +0200 |
commit | a1d1f5d490a475db9fbf7e9d164009f9c26345b2 (patch) | |
tree | 2f3b9c99d4622b33792feb875ce458205e6999e5 /fs/erofs/compress.h | |
parent | fpga: ice40-spi: Use new structure for SPI transfer delays (diff) | |
download | linux-a1d1f5d490a475db9fbf7e9d164009f9c26345b2.tar.xz linux-a1d1f5d490a475db9fbf7e9d164009f9c26345b2.zip |
fpga: machxo2-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 <sergiu.cuciurean@analog.com>
Signed-off-by: Moritz Fischer <mdf@kernel.org>
Diffstat (limited to 'fs/erofs/compress.h')
0 files changed, 0 insertions, 0 deletions