]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0c62a8304a38e09e7d709e0f58344e613ccf7384
tree5abf7ddb64a808d6fddf95333ee07a1e66313f01
parentc3249cd689dfd0b58fe7a8adf203a6f9220b99e7
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