From: Marc Kleine-Budde Date: Sun, 29 Jun 2025 16:15:32 +0000 (+0200) Subject: spi: Raise limit on number of chip selects to 24 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=96893cdd4760ad94a438c1523cc5ca2470e04670;p=linux-2.6-block.git spi: Raise limit on number of chip selects to 24 We have a system which uses 24 SPI chip selects, raise the hard coded limit accordingly. Signed-off-by: Marc Kleine-Budde Link: https://patch.msgid.link/20250629-spi-increase-number-of-cs-v2-1-85a0a09bab32@pengutronix.de Signed-off-by: Mark Brown --- diff --git a/include/linux/spi/spi.h b/include/linux/spi/spi.h index 4789f91dae94..e9ea43234d9a 100644 --- a/include/linux/spi/spi.h +++ b/include/linux/spi/spi.h @@ -21,7 +21,7 @@ #include /* 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;