spi: stm32: fix missing pointer assignment in case of dma chaining
authorAlain Volmat <alain.volmat@foss.st.com>
Tue, 24 Feb 2026 15:09:22 +0000 (16:09 +0100)
committerMark Brown <broonie@kernel.org>
Thu, 26 Feb 2026 23:16:12 +0000 (23:16 +0000)
commite96493229a6399e902062213c6381162464cdd50
treee1448b48f952ef96df87ab9969005cb4cce154f1
parent297318a1c26dabb5a2d8540fdf436c22094eb2d7
spi: stm32: fix missing pointer assignment in case of dma chaining

Commit c4f2c05ab029 ("spi: stm32: fix pointer-to-pointer variables usage")
introduced a regression since dma descriptors generated as part of the
stm32_spi_prepare_rx_dma_mdma_chaining function are not well propagated
to the caller function, leading to mdma-dma chaining being no more
functional.

Fixes: c4f2c05ab029 ("spi: stm32: fix pointer-to-pointer variables usage")
Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
Acked-by: Antonio Quartulli <antonio@mandelbit.com>
Link: https://patch.msgid.link/20260224-spi-stm32-chaining-fix-v1-1-5da7a4851b66@foss.st.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-stm32.c