spi: mchp-pci1xxxx: Fix improper implementation of disabling chip select lines
authorTharun Kumar P <tharunkumar.pasumarthi@microchip.com>
Tue, 4 Apr 2023 17:16:13 +0000 (22:46 +0530)
committerMark Brown <broonie@kernel.org>
Wed, 5 Apr 2023 11:33:28 +0000 (12:33 +0100)
commit45d2af82e0e6f662d0d0db20993b35cb1d8da646
treedf094915ae97bb62be50496090fdd64e2c865ec8
parent4266d21669de62cf3fb6774f7d404c1eb95a5ab3
spi: mchp-pci1xxxx: Fix improper implementation of disabling chip select lines

Hardware does not have support to disable individual chip select lines.
Disable all chip select lines by using SPI_FORCE_CE bit.

Fixes: 1cc0cbea7167 ("spi: microchip: pci1xxxx: Add driver for SPI controller of PCI1XXXX PCIe switch")
Signed-off-by: Tharun Kumar P <tharunkumar.pasumarthi@microchip.com>
Link: https://lore.kernel.org/r/20230404171613.1336093-4-tharunkumar.pasumarthi@microchip.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-pci1xxxx.c