]> www.infradead.org Git - users/willy/xarray.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)
commit8a6553ecdf976d6a34664bd491f0ea74a15aa982
tree0a54b0f6f20691291034ef82d2f8bcb8a4ca8ea7
parent10e413faa72c6f728ead2c6cc140f834af7bee8d
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