Patch "spi: stm32: fix missing device mode capability in stm32mp25" has been added to the 6.11-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    spi: stm32: fix missing device mode capability in stm32mp25

to the 6.11-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     spi-stm32-fix-missing-device-mode-capability-in-stm3.patch
and it can be found in the queue-6.11 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit 6b9787a646dbecd5dad5e6fe4cf67db5d2660b39
Author: Alain Volmat <alain.volmat@xxxxxxxxxxx>
Date:   Wed Oct 9 18:15:52 2024 +0200

    spi: stm32: fix missing device mode capability in stm32mp25
    
    [ Upstream commit b5a468199b995bd8ee3c26f169a416a181210c9e ]
    
    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.
    
    Signed-off-by: Alain Volmat <alain.volmat@xxxxxxxxxxx>
    Link: https://patch.msgid.link/20241009-spi-mp25-device-fix-v1-1-8e5ca7db7838@xxxxxxxxxxx
    Signed-off-by: Mark Brown <broonie@xxxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/drivers/spi/spi-stm32.c b/drivers/spi/spi-stm32.c
index 4c4ff074e3f6f..fc72a89fb3a7b 100644
--- a/drivers/spi/spi-stm32.c
+++ b/drivers/spi/spi-stm32.c
@@ -2044,6 +2044,7 @@ static const struct stm32_spi_cfg stm32mp25_spi_cfg = {
 	.baud_rate_div_max = STM32H7_SPI_MBR_DIV_MAX,
 	.has_fifo = true,
 	.prevent_dma_burst = true,
+	.has_device_mode = true,
 };
 
 static const struct of_device_id stm32_spi_of_match[] = {




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux