diff options
author | Alexandru Ardelean <alexandru.ardelean@analog.com> | 2019-09-26 13:51:32 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2019-10-15 11:42:09 +0100 |
commit | 84593a131c3af21d686d05c4b4432290a415d399 (patch) | |
tree | 0b35f056d35227369c84dc0755b3993f42b76712 /drivers/spi/spidev.c | |
parent | spi: make `cs_change_delay` the first user of the `spi_delay` logic (diff) | |
download | linux-dev-84593a131c3af21d686d05c4b4432290a415d399.tar.xz linux-dev-84593a131c3af21d686d05c4b4432290a415d399.zip |
spi: sprd: convert transfer word delay to spi_delay struct
The Spreadtrum SPI driver is the only user of the `word_delay` field in
the `spi_transfer` struct.
This change converts the field to use the `spi_delay` struct. This also
enforces the users to specify the delay unit to be `SPI_DELAY_UNIT_SCK`.
Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com>
Link: https://lore.kernel.org/r/20190926105147.7839-5-alexandru.ardelean@analog.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/spidev.c')
0 files changed, 0 insertions, 0 deletions