diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2023-07-10 17:49:31 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-07-11 15:14:31 +0200 |
commit | 7a2b552c8e0e5bb280558f6c120140f5f06323bc (patch) | |
tree | 7a7cdcb02c20d60738a889f183b52793864ae600 /drivers/spi/spi-cavium-thunderx.c | |
parent | spi: Rename SPI_MASTER_GPIO_SS to SPI_CONTROLLER_GPIO_SS (diff) | |
download | linux-7a2b552c8e0e5bb280558f6c120140f5f06323bc.tar.xz linux-7a2b552c8e0e5bb280558f6c120140f5f06323bc.zip |
spi: Convert to SPI_CONTROLLER_HALF_DUPLEX
Convert the users under SPI subsystem to SPI_CONTROLLER_HALF_DUPLEX.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20230710154932.68377-15-andriy.shevchenko@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/spi-cavium-thunderx.c')
-rw-r--r-- | drivers/spi/spi-cavium-thunderx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/spi-cavium-thunderx.c b/drivers/spi/spi-cavium-thunderx.c index 60c0d6934654..535f7eb9fa69 100644 --- a/drivers/spi/spi-cavium-thunderx.c +++ b/drivers/spi/spi-cavium-thunderx.c @@ -64,7 +64,7 @@ static int thunderx_spi_probe(struct pci_dev *pdev, p->sys_freq = SYS_FREQ_DEFAULT; dev_info(dev, "Set system clock to %u\n", p->sys_freq); - master->flags = SPI_MASTER_HALF_DUPLEX; + master->flags = SPI_CONTROLLER_HALF_DUPLEX; master->num_chipselect = 4; master->mode_bits = SPI_CPHA | SPI_CPOL | SPI_CS_HIGH | SPI_LSB_FIRST | SPI_3WIRE; |