spi: Make GPIO CSs honour the SPI_NO_CS flag
authorPhil Elwell <phil@raspberrypi.org>
Fri, 12 Oct 2018 09:23:18 +0000 (10:23 +0100)
committerMark Brown <broonie@kernel.org>
Fri, 12 Oct 2018 16:47:28 +0000 (18:47 +0200)
commit25972d0c33deb5c49708baa48e7796c8d0348e98
tree5abf7ddb64a808d6fddf95333ee07a1e66313f01
parent44221ebae2da9daad053e383240d8aeacacaa43e
spi: Make GPIO CSs honour the SPI_NO_CS flag

The SPI configuration state includes an SPI_NO_CS flag that disables
all CS line manipulation, for applications that want to manage their
own chip selects. However, this flag is ignored by the GPIO CS code
in the SPI framework.

Correct this omission with a trivial patch.

Signed-off-by: Phil Elwell <phil@raspberrypi.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi.c