]> git.baikalelectronics.ru Git - kernel.git/commit
spi: stm32: Switch to use GPIO descriptors for CS
authorLinus Walleij <linus.walleij@linaro.org>
Thu, 5 Dec 2019 08:34:01 +0000 (09:34 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 9 Dec 2019 18:46:13 +0000 (18:46 +0000)
commit4540d463f8091d5bb88ce1dfa59e41cb6fcad38b
tree0a54b0f6f20691291034ef82d2f8bcb8a4ca8ea7
parent7b3415b33e54069c2b732baff90985716eb4933b
spi: stm32: Switch to use GPIO descriptors for CS

This switches the STM32 SPI driver over to using GPIO
descriptors for chip select. Instead of the callbacks for
picking the GPIO lines using the legacy API we just let
the core handle it all using descriptors.

Cc: Fabien Dessenne <fabien.dessenne@st.com>
Cc: Amelie Delaunay <amelie.delaunay@st.com>
Cc: Cezary Gapinski <cezary.gapinski@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20191205083401.27077-1-linus.walleij@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-stm32.c