Patch "spi: mchp-pci1xxxx: Fix SPI transactions not working after suspend and resume" has been added to the 6.2-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: mchp-pci1xxxx: Fix SPI transactions not working after suspend and resume

to the 6.2-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-mchp-pci1xxxx-fix-spi-transactions-not-working-a.patch
and it can be found in the queue-6.2 subdirectory.

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



commit 65808a229890d9f1a9739706f169922965d1a318
Author: Tharun Kumar P <tharunkumar.pasumarthi@xxxxxxxxxxxxx>
Date:   Tue Apr 4 22:46:12 2023 +0530

    spi: mchp-pci1xxxx: Fix SPI transactions not working after suspend and resume
    
    [ Upstream commit 4266d21669de62cf3fb6774f7d404c1eb95a5ab3 ]
    
    pci1xxxx_spi_resume API masks SPI interrupt bit which prohibits interrupt
    from coming to the host at the end of the transaction after suspend-resume.
    This patch unmasks this bit at resume.
    
    Fixes: 1cc0cbea7167 ("spi: microchip: pci1xxxx: Add driver for SPI controller of PCI1XXXX PCIe switch")
    Signed-off-by: Tharun Kumar P <tharunkumar.pasumarthi@xxxxxxxxxxxxx>
    Link: https://lore.kernel.org/r/20230404171613.1336093-3-tharunkumar.pasumarthi@xxxxxxxxxxxxx
    Signed-off-by: Mark Brown <broonie@xxxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/drivers/spi/spi-pci1xxxx.c b/drivers/spi/spi-pci1xxxx.c
index 0805c441b4065..13efbfeff92ce 100644
--- a/drivers/spi/spi-pci1xxxx.c
+++ b/drivers/spi/spi-pci1xxxx.c
@@ -58,7 +58,7 @@
 #define VENDOR_ID_MCHP 0x1055
 
 #define SPI_SUSPEND_CONFIG 0x101
-#define SPI_RESUME_CONFIG 0x303
+#define SPI_RESUME_CONFIG 0x203
 
 struct pci1xxxx_spi_internal {
 	u8 hw_inst;



[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