spi: stm32: fix missing device mode capability in stm32mp25
authorAlain Volmat <alain.volmat@foss.st.com>
Thu, 10 Oct 2024 13:33:03 +0000 (15:33 +0200)
committerMark Brown <broonie@kernel.org>
Thu, 10 Oct 2024 14:22:37 +0000 (15:22 +0100)
commit941584e2f3ddde26e4d71941ebc0836ece181594
tree6e10c58f7deeaa164231bf47cf93b6738347efa3
parente7ccaaadebaebbf71ba9fcdbf38a93a9405c093d
spi: stm32: fix missing device mode capability in stm32mp25

The STM32MP25 SOC has capability to behave in device mode however
missing .has_device_mode within its stm32mp25_spi_cfg structure leads
to not being able to enable the device mode.

Fixes: f6cd66231aa5 ("spi: stm32: add st,stm32mp25-spi compatible supporting STM32MP25 soc")
Cc: stable@vger.kernel.org
Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
Link: https://patch.msgid.link/20241010-spi-mp25-device-fix-v2-1-d13920de473d@foss.st.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-stm32.c