diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2023-07-10 18:49:31 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-07-11 14:14:31 +0100 |
commit | 7a2b552c8e0e5bb280558f6c120140f5f06323bc (patch) | |
tree | 7a7cdcb02c20d60738a889f183b52793864ae600 /drivers/spi/spi-rockchip-sfc.c | |
parent | 82238d2cbd99ebd09dda48fb7c1c8802097da6a2 (diff) | |
download | lwn-7a2b552c8e0e5bb280558f6c120140f5f06323bc.tar.gz lwn-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-rockchip-sfc.c')
-rw-r--r-- | drivers/spi/spi-rockchip-sfc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/spi-rockchip-sfc.c b/drivers/spi/spi-rockchip-sfc.c index 583f4187f030..bd550e76ab3d 100644 --- a/drivers/spi/spi-rockchip-sfc.c +++ b/drivers/spi/spi-rockchip-sfc.c @@ -565,7 +565,7 @@ static int rockchip_sfc_probe(struct platform_device *pdev) if (!master) return -ENOMEM; - master->flags = SPI_MASTER_HALF_DUPLEX; + master->flags = SPI_CONTROLLER_HALF_DUPLEX; master->mem_ops = &rockchip_sfc_mem_ops; master->dev.of_node = pdev->dev.of_node; master->mode_bits = SPI_TX_QUAD | SPI_TX_DUAL | SPI_RX_QUAD | SPI_RX_DUAL; |