]> git.baikalelectronics.ru Git - kernel.git/commit
spi: spi-loopback-test: use new `delay` field
authorAlexandru Ardelean <alexandru.ardelean@analog.com>
Thu, 26 Sep 2019 10:51:40 +0000 (13:51 +0300)
committerMark Brown <broonie@kernel.org>
Tue, 15 Oct 2019 10:45:19 +0000 (11:45 +0100)
commit707388160abbec4ca82e9d816b2ee775b0d106b3
treec2eeacbff467a46e8173604a635ba399a06a1378
parenteffb26b431521e52eb211c351cb90307f8fa4b96
spi: spi-loopback-test: use new `delay` field

This change replaces the use of the `delay_usecs` field with the new
`delay` field. The code/test still uses micro-seconds, but they are now
configured and used via the `struct spi_delay` format of the `delay` field.

Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com>
Link: https://lore.kernel.org/r/20190926105147.7839-13-alexandru.ardelean@analog.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-loopback-test.c