spi: Raise limit on number of chip selects
authorMark Brown <broonie@kernel.org>
Wed, 24 Jan 2024 13:24:24 +0000 (13:24 +0000)
committerMark Brown <broonie@kernel.org>
Wed, 24 Jan 2024 15:11:38 +0000 (15:11 +0000)
commit2f8c7c3715f2c6fb51a4ecc0905c04dd78a3da29
treea4b5b66695932cd8295e1e74a461d35f8a7a76dc
parentde8b6e1c231a95abf95ad097b993d34b31458ec9
spi: Raise limit on number of chip selects

As reported by Guenter the limit we've got on the number of chip selects is
set too low for some systems, raise the limit. We should really remove the
hard coded limit but this is needed as a fix so let's do the simple thing
and raise the limit for now.

Fixes: 4d8ff6b0991d ("spi: Add multi-cs memories support in SPI core")
Reported-by: Guenter Roeck <linux@roeck-us.net>
Suggested-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Mark Brown <broonie@kernel.org>
Link: https://msgid.link/r/20240124-spi-multi-cs-max-v2-1-df6fc5ab1abc@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
include/linux/spi/spi.h