[PATCH 00/18] spi: stm32: various driver enhancements

From: Alain Volmat
Date: Wed Aug 05 2020 - 03:05:20 EST


This serie provides spi-stm32 driver enhancements in various area such as:
- code simplification
- race condition fix
- fixes in case of usage of SPI with DMA
- suspend/resume fixes
- issues triggered by spi-loopback-test

Alain Volmat (4):
spi: stm32-spi: defer probe for reset
spi: stm32: always perform registers configuration prior to transfer
spi: stm32: properly handle 0 byte transfer
spi: stm32h7: ensure message are smaller than max size

Amelie Delaunay (10):
spi: stm32: use bitfield macros
spi: stm32h7: replace private SPI_1HZ_NS with NSEC_PER_SEC
spi: stm32h7: fix irq handler
spi: stm32h7: rework rx fifo read function
spi: stm32h7: fix dbg/warn/err conditions in irq handler
spi: stm32: wait for completion in transfer_one()
spi: stm32: fix fifo threshold level in case of short transfer
spi: stm32h7: fix handling of dma transfer completed
spi: stm32: improve suspend/resume management
spi: stm32: fix stm32_spi_prepare_mbr in case of odd clk_rate

Antonio Borneo (3):
spi: stm32h7: remove unused mode fault MODF event handling
spi: stm32h7: fix race condition at end of transfer
spi: stm32: move spi disable out of irq handler

Etienne Carriere (1):
spi: stm32-spi: driver uses reset controller only at init

drivers/spi/spi-stm32.c | 425 ++++++++++++++++++++++++++++--------------------
1 file changed, 247 insertions(+), 178 deletions(-)