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)
commit9df2003df79a0f763dbf76891fcc7d4a5141861d
tree034d975a4e0d1aaccd077065b482db4d46bab409
parentbadfae429b13ef173fe4627714894cb629aa1bc6
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