]> 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)
commit112c353e6994c09ee9f697f3166f217bc34e785a
tree5abf7ddb64a808d6fddf95333ee07a1e66313f01
parentcf500583d0fd6c39513f0177923b89100aa24a88
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