diff options
author | 2023-07-10 18:49:29 +0300 | |
---|---|---|
committer | 2023-07-11 13:41:25 +0100 | |
commit | 90366cd60133a9f5b6a2f31360367c658585e125 (patch) | |
tree | 14129d0d4b9fca7c0c728a2c6ac41c763ec0fcb8 /drivers/spi/spi-stm32.c | |
parent | spi: Get rid of old SPI_MASTER_NO_TX & SPI_MASTER_NO_RX (diff) | |
download | linux-rng-90366cd60133a9f5b6a2f31360367c658585e125.tar.xz linux-rng-90366cd60133a9f5b6a2f31360367c658585e125.zip |
spi: Get rid of old SPI_MASTER_MUST_TX & SPI_MASTER_MUST_RX
Convert the users from SPI_MASTER_MUST_TX and/or SPI_MASTER_MUST_RX
to SPI_CONTROLLER_MUST_TX and/or SPI_CONTROLLER_MUST_RX respectively
and kill the not used anymore definitions.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20230710154932.68377-13-andriy.shevchenko@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/spi-stm32.c')
-rw-r--r-- | drivers/spi/spi-stm32.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/spi-stm32.c b/drivers/spi/spi-stm32.c index 6d10fa4ab783..423212bd0675 100644 --- a/drivers/spi/spi-stm32.c +++ b/drivers/spi/spi-stm32.c @@ -1750,7 +1750,7 @@ static const struct stm32_spi_cfg stm32f4_spi_cfg = { .baud_rate_div_min = STM32F4_SPI_BR_DIV_MIN, .baud_rate_div_max = STM32F4_SPI_BR_DIV_MAX, .has_fifo = false, - .flags = SPI_MASTER_MUST_TX, + .flags = SPI_CONTROLLER_MUST_TX, }; static const struct stm32_spi_cfg stm32h7_spi_cfg = { |