spi: always use software fallback for SPI_CS_WORD when using cs_gio
authorDavid Lechner <david@lechnology.com>
Tue, 18 Sep 2018 17:08:48 +0000 (12:08 -0500)
committerMark Brown <broonie@kernel.org>
Tue, 18 Sep 2018 17:40:32 +0000 (10:40 -0700)
commit71388b21569754ecd36eabd66fd9ca8c6d761fed
tree8031600f534f49f24b081cba31d2ebffc00fca75
parent00bca73bfca4fb0ab089b94cad0fc83d8b49c25f
spi: always use software fallback for SPI_CS_WORD when using cs_gio

This modifies the condition for using the software fallback
implementation for SPI_CS_WORD when the SPI controller is using a GPIO
for the CS line. When using a GPIO for CS, the hardware implementation
won't work, so we just enable the software fallback globally in this
case.

Signed-off-by: David Lechner <david@lechnology.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi.c