diff mbox series

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

Message ID 20241012-spi_multi_cs_cleanup-v1-5-dc491113880d@gmail.com (mailing list archive)
State New
Headers show
Series spi: multi CS cleanup and controller CS limit removal | expand

Commit Message

Jonas Gorski Oct. 12, 2024, 9:53 a.m. UTC
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(-)

Comments

Mark Brown Oct. 12, 2024, 10:28 a.m. UTC | #1
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.
diff mbox series

Patch

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;