spi: Raise limit on number of chip selects to 24
authorMarc Kleine-Budde <mkl@pengutronix.de>
Sun, 29 Jun 2025 16:15:32 +0000 (18:15 +0200)
committerMark Brown <broonie@kernel.org>
Sun, 29 Jun 2025 21:10:52 +0000 (22:10 +0100)
We have a system which uses 24 SPI chip selects, raise the hard coded
limit accordingly.

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Link: https://patch.msgid.link/20250629-spi-increase-number-of-cs-v2-1-85a0a09bab32@pengutronix.de
Signed-off-by: Mark Brown <broonie@kernel.org>
include/linux/spi/spi.h

index 4789f91dae949291572de85fefff18ebbf24b7e7..e9ea43234d9a873a3fae8ea629ff9a5df4bd21ce 100644 (file)
@@ -21,7 +21,7 @@
 #include <uapi/linux/spi/spi.h>
 
 /* Max no. of CS supported per spi device */
-#define SPI_CS_CNT_MAX 16
+#define SPI_CS_CNT_MAX 24
 
 struct dma_chan;
 struct software_node;