diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2019-04-03 17:08:52 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2019-04-04 13:00:47 +0700 |
commit | 9fda6693335cd51b0a74cffaac266c83439f7efe (patch) | |
tree | 0fc3b0ee927125bb11444fb6f37728666294c95c /drivers/spi/spi.c | |
parent | 1a8fa5166ec53927e2c978bce9a107c9f8d5bf60 (diff) | |
download | linux-9fda6693335cd51b0a74cffaac266c83439f7efe.tar.gz linux-9fda6693335cd51b0a74cffaac266c83439f7efe.tar.bz2 linux-9fda6693335cd51b0a74cffaac266c83439f7efe.zip |
spi: sh-msiof: Convert to use GPIO descriptors
Convert GPIO chip selects in the Renesas MSIOF SPI driver from legacy
GPIO numbers to GPIO descriptors.
Notes:
- The board file for the SH7724-based Ecovec24 development board now
registers a GPIO descriptor lookup, instead of passing a GPIO number
through controller_data,
- sh_msiof_get_cs_gpios() must release all GPIOs, else
spi_get_gpio_descs() cannot claim them during SPI controller
registration.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/spi.c')
0 files changed, 0 insertions, 0 deletions