]> git.baikalelectronics.ru Git - kernel.git/commit
spi: bcm2835: support effective_speed_hz
authorMartin Sperl <kernel@martin.sperl.org>
Thu, 9 Jul 2020 07:41:19 +0000 (09:41 +0200)
committerMark Brown <broonie@kernel.org>
Thu, 16 Jul 2020 23:30:44 +0000 (00:30 +0100)
commit0e9e45dec69b99162d2fefa5e067b7c604330b1a
tree034d975a4e0d1aaccd077065b482db4d46bab409
parent5aaef39d78cf79a87967cf7f59f2928d31472e99
spi: bcm2835: support effective_speed_hz

Setting spi_transfer->effective_speed_hz in transfer_one so that
it can get used in cs_change_delay configured with delay as a muliple
of SPI clock cycles.

Signed-off-by: Martin Sperl <kernel@martin.sperl.org>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Link: https://lore.kernel.org/r/20200709074120.110069-2-mkl@pengutronix.de
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-bcm2835.c