Skip to content

Commit 4266d21

Browse files
Tharun Kumar Pbroonie
authored andcommitted
spi: mchp-pci1xxxx: Fix SPI transactions not working after suspend and resume
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: 1cc0cbe ("spi: microchip: pci1xxxx: Add driver for SPI controller of PCI1XXXX PCIe switch") Signed-off-by: Tharun Kumar P <tharunkumar.pasumarthi@microchip.com> Link: https://lore.kernel.org/r/20230404171613.1336093-3-tharunkumar.pasumarthi@microchip.com Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent 35c8c5e commit 4266d21

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/spi/spi-pci1xxxx.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
#define VENDOR_ID_MCHP 0x1055
5959

6060
#define SPI_SUSPEND_CONFIG 0x101
61-
#define SPI_RESUME_CONFIG 0x303
61+
#define SPI_RESUME_CONFIG 0x203
6262

6363
struct pci1xxxx_spi_internal {
6464
u8 hw_inst;

0 commit comments

Comments
 (0)