aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/spi/spidev.c
diff options
context:
space:
mode:
authorAlexandru Ardelean <alexandru.ardelean@analog.com>2019-09-26 13:51:33 +0300
committerMark Brown <broonie@kernel.org>2019-10-15 11:43:31 +0100
commit21e26062052c60d31640e614b792473fca787f9f (patch)
treea542606b8ec578c0a6551e1160b0976e900d8c96 /drivers/spi/spidev.c
parentspi: sprd: convert transfer word delay to spi_delay struct (diff)
downloadlinux-dev-21e26062052c60d31640e614b792473fca787f9f.tar.xz
linux-dev-21e26062052c60d31640e614b792473fca787f9f.zip
spi: orion: 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 just uses the new `spi_delay_exec()` routine, that handles the `unit` part. Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com> Link: https://lore.kernel.org/r/20190926105147.7839-6-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