Skip to content

Commit f7482d8

Browse files
kkyarlagaddabroonie
authored andcommitted
spi: tegra210-quad: set half duplex flag
Tegra QSPI controller only supports half duplex transfers. Set half duplex constrain flag. Signed-off-by: Krishna Yarlagadda <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent 078a551 commit f7482d8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/spi/spi-tegra210-quad.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1532,6 +1532,7 @@ static int tegra_qspi_probe(struct platform_device *pdev)
15321532
master->mode_bits = SPI_MODE_0 | SPI_MODE_3 | SPI_CS_HIGH |
15331533
SPI_TX_DUAL | SPI_RX_DUAL | SPI_TX_QUAD | SPI_RX_QUAD;
15341534
master->bits_per_word_mask = SPI_BPW_MASK(32) | SPI_BPW_MASK(16) | SPI_BPW_MASK(8);
1535+
master->flags = SPI_CONTROLLER_HALF_DUPLEX;
15351536
master->setup = tegra_qspi_setup;
15361537
master->transfer_one_message = tegra_qspi_transfer_one_message;
15371538
master->num_chipselect = 1;

0 commit comments

Comments
 (0)