spi: stm32: disable device mode with st,stm32f4-spi compatible
authorValentin Caron <valentin.caron@foss.st.com>
Thu, 6 Jul 2023 08:13:42 +0000 (10:13 +0200)
committerMark Brown <broonie@kernel.org>
Sun, 9 Jul 2023 21:51:33 +0000 (22:51 +0100)
commitfee681646fc831b154619ac0261afedcc7e671e7
tree143964484b1880aa786c29784c4b9cc85abb77ab
parent06c2afb862f9da8dc5efa4b6076a0e48c3fbaaa5
spi: stm32: disable device mode with st,stm32f4-spi compatible

STM32 SPI driver is not capable to handle device mode with stm32f4 soc.
Stop probing if this case happens.

Signed-off-by: Valentin Caron <valentin.caron@foss.st.com>
Link: https://lore.kernel.org/r/20230706081342.468090-1-valentin.caron@foss.st.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-stm32.c