]> Git Repo - linux.git/commit
spi: fsl: Fix driver breakage when SPI_CS_HIGH is not set in spi->mode
authorChristophe Leroy <[email protected]>
Thu, 14 Jan 2021 13:09:37 +0000 (13:09 +0000)
committerMark Brown <[email protected]>
Thu, 14 Jan 2021 14:26:53 +0000 (14:26 +0000)
commit7a2da5d7960a64ee923fe3e31f01a1101052c66f
tree215305def49873e4a7635928d0de686b7bcc7f4a
parent7c53f6b671f4aba70ff15e1b05148b10d58c2837
spi: fsl: Fix driver breakage when SPI_CS_HIGH is not set in spi->mode

Commit 766c6b63aa04 ("spi: fix client driver breakages when using GPIO
descriptors") broke fsl spi driver.

As now we fully rely on gpiolib for handling the polarity of
chip selects, the driver shall not alter the GPIO value anymore
when SPI_CS_HIGH is not set in spi->mode.

Fixes: 766c6b63aa04 ("spi: fix client driver breakages when using GPIO descriptors")
Cc: [email protected]
Signed-off-by: Christophe Leroy <[email protected]>
Link: https://lore.kernel.org/r/6b51cc2bfbca70d3e9b9da7b7aa4c7a9d793ca0e.1610629002.git.christophe.leroy@csgroup.eu
Signed-off-by: Mark Brown <[email protected]>
drivers/spi/spi-fsl-spi.c
This page took 0.0387 seconds and 4 git commands to generate.