summaryrefslogtreecommitdiff
path: root/drivers/spi/spi-sn-f-ospi.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2023-03-02 09:25:38 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2023-03-02 09:25:38 -0800
commit093b2dc4024a9dca9cba539625c32c8056b51fe4 (patch)
tree7fecd8871cb77f2a059687d131987398cfce7a30 /drivers/spi/spi-sn-f-ospi.c
parentfd7ee8de984efcd31b8f5dce9e340ccd59eb436f (diff)
parent2449d436681d40bc63ec2c766fd51b632270d8a7 (diff)
downloadlwn-093b2dc4024a9dca9cba539625c32c8056b51fe4.tar.gz
lwn-093b2dc4024a9dca9cba539625c32c8056b51fe4.zip
Merge tag 'spi-fix-v6.3' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi
Pull spi fixes from Mark Brown: "A small set of fixes for SPI drivers, Krishna has been doing a bunch of work on Tegra210 QuadSPI and found a bunch of issues there and there's a couple of small fixes for other drivers too" * tag 'spi-fix-v6.3' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi: spi: tegra210-quad: Fix iterator outside loop spi: tegra210-quad: Fix validate combined sequence spi: tegra210-quad: set half duplex flag spi: spi-sn-f-ospi: fix duplicate flag while assigning to mode_bits spi: cadence-quadspi: Fix cancel the indirect read mask
Diffstat (limited to 'drivers/spi/spi-sn-f-ospi.c')
-rw-r--r--drivers/spi/spi-sn-f-ospi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/spi-sn-f-ospi.c b/drivers/spi/spi-sn-f-ospi.c
index 348c6e1edd38..333b22dfd8db 100644
--- a/drivers/spi/spi-sn-f-ospi.c
+++ b/drivers/spi/spi-sn-f-ospi.c
@@ -611,7 +611,7 @@ static int f_ospi_probe(struct platform_device *pdev)
return -ENOMEM;
ctlr->mode_bits = SPI_TX_DUAL | SPI_TX_QUAD | SPI_TX_OCTAL
- | SPI_RX_DUAL | SPI_RX_QUAD | SPI_TX_OCTAL
+ | SPI_RX_DUAL | SPI_RX_QUAD | SPI_RX_OCTAL
| SPI_MODE_0 | SPI_MODE_1 | SPI_LSB_FIRST;
ctlr->mem_ops = &f_ospi_mem_ops;
ctlr->bus_num = -1;