]> www.infradead.org Git - users/jedix/linux-maple.git/commit
spi: spi-pci1xxxx: Fix Probe failure with Dual SPI instance with INTx interrupts
authorThangaraj Samynathan <thangaraj.s@microchip.com>
Tue, 27 May 2025 10:32:44 +0000 (16:02 +0530)
committerMark Brown <broonie@kernel.org>
Tue, 27 May 2025 11:14:27 +0000 (12:14 +0100)
commitb4608e944177531334a79f3df2cd14275b47808c
tree6b1fdbb74f8499fb283da8e6d4118a56d6aea172
parentb00d6864a4c948529dc6ddd2df76bf175bf27c63
spi: spi-pci1xxxx: Fix Probe failure with Dual SPI instance with INTx interrupts

Fixes a probe failure that occurs when dual SPI controllers are
enabled and INTx interrupts are used. Reduces the minimum required
number of interrupt vectors to 1 and registers a shared ISR when
the allocated vectors are fewer than the number of controllers.
This change ensures that the probe succeeds even with limited
vectors, restoring INTx functionality when multiple SPI
controllers are present.

Signed-off-by: Thangaraj Samynathan <thangaraj.s@microchip.com>
Link: https://patch.msgid.link/20250527103244.26861-1-thangaraj.s@microchip.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-pci1xxxx.c