spi: dw: Drop default number of CS setting
authorSerge Semin <fancer.lancer@gmail.com>
Wed, 24 Apr 2024 15:06:45 +0000 (18:06 +0300)
committerMark Brown <broonie@kernel.org>
Fri, 3 May 2024 02:09:25 +0000 (11:09 +0900)
commit98d75b9ef282f6b9bfa1ea06d8a0824e0edaea97
treea055629aa537f080e20d62db68a94f1220dddf1e
parent33c85972d1e4952a8c93ec260be2e6ff4470e619
spi: dw: Drop default number of CS setting

DW APB/AHB SSI core now supports the procedure automatically detecting the
number of native chip-select lines. Thus there is no longer point in
defaulting to four CS if the platform doesn't specify the real number
especially seeing the default number didn't correspond to any original DW
APB/AHB databook.

Signed-off-by: Serge Semin <fancer.lancer@gmail.com>
Reviewed-by: Andy Shevchenko <andy@kernel.org>
Link: https://lore.kernel.org/r/20240424150657.9678-5-fancer.lancer@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-dw-mmio.c