[GIT PULL] SPI fixes for v5.11-rc2

From: Mark Brown
Date: Thu Jan 07 2021 - 12:11:47 EST


The following changes since commit 5c8fe583cce542aa0b84adc939ce85293de36e5e:

Linux 5.11-rc1 (2020-12-27 15:30:22 -0800)

are available in the Git repository at:

https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git tags/spi-fix-v5.11-rc2

for you to fetch changes up to 6170d077bf92c5b3dfbe1021688d3c0404f7c9e9:

spi: fix the divide by 0 error when calculating xfer waiting time (2021-01-04 14:24:58 +0000)

----------------------------------------------------------------
spi: Fixes for v5.11

A couple of core fixes here, both to do with handling of drivers which
don't report their maximum speed since we factored some of the handling
for transfer speeds out into the core in the previous release. There's
also some driver specific fixes, including a relatively large set for
some races around timeouts in spi-geni-qcom.

----------------------------------------------------------------
Douglas Anderson (4):
spi: spi-geni-qcom: Fix geni_spi_isr() NULL dereference in timeout case
spi: spi-geni-qcom: Fail new xfers if xfer/cancel/abort pending
spi: spi-geni-qcom: Don't try to set CS if an xfer is pending
spi: spi-geni-qcom: Print an error when we timeout setting the CS

Mark Brown (2):
Merge remote-tracking branch 'spi/for-5.10' into spi-5.11
Merge tag 'v5.11-rc1' into spi-5.11

Roman Guskov (1):
spi: stm32: FIFO threshold level - fix align packet size

Tudor Ambarus (1):
spi: Fix the clamping of spi->max_speed_hz

Xu Yilun (2):
spi: altera: fix return value for altera_spi_txrx()
spi: fix the divide by 0 error when calculating xfer waiting time

drivers/spi/spi-altera.c | 26 +++++++-------
drivers/spi/spi-geni-qcom.c | 84 ++++++++++++++++++++++++++++++++++++++++++---
drivers/spi/spi-stm32.c | 4 +--
drivers/spi/spi.c | 11 ++++--
4 files changed, 104 insertions(+), 21 deletions(-)