[PATCH 5/6] Revert "spi: Raise limit on number of chip selects"

Jonas Gorski posted 6 patches 1 month, 2 weeks ago
[PATCH 5/6] Revert "spi: Raise limit on number of chip selects"
Posted by Jonas Gorski 1 month, 2 weeks ago
Now that we removed the limit of chip selects for the controller, we can
reduce the amount of chip selects per device again to its original
value.

This reverts commit 2f8c7c3715f2c6fb51a4ecc0905c04dd78a3da29.

Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
---
 include/linux/spi/spi.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/linux/spi/spi.h b/include/linux/spi/spi.h
index 77511c7d40df7085644cecaae325c982fb306afa..fe99f46c7d926eeb75398f4dddc5ef64d8f7736e 100644
--- a/include/linux/spi/spi.h
+++ b/include/linux/spi/spi.h
@@ -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 4
 
 struct dma_chan;
 struct software_node;

-- 
2.43.0
Re: [PATCH 5/6] Revert "spi: Raise limit on number of chip selects"
Posted by Mark Brown 1 month, 2 weeks ago
On Sat, Oct 12, 2024 at 11:53:39AM +0200, Jonas Gorski wrote:
> Now that we removed the limit of chip selects for the controller, we can
> reduce the amount of chip selects per device again to its original
> value.
> 
> This reverts commit 2f8c7c3715f2c6fb51a4ecc0905c04dd78a3da29.

Please include human readable descriptions of things like commits and
issues being discussed in e-mail in your mails, this makes them much
easier for humans to read especially when they have no internet access.
I do frequently catch up on my mail on flights or while otherwise
travelling so this is even more pressing for me than just being about
making things a bit easier to read.