@@ -390,7 +390,8 @@ static int sun4i_spi_probe(struct platform_device *pdev)
master->set_cs = sun4i_spi_set_cs;
master->transfer_one = sun4i_spi_transfer_one;
master->num_chipselect = 4;
- master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_CS_HIGH | SPI_LSB_FIRST;
+ master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_CS_HIGH | SPI_LSB_FIRST |
+ SPI_FC_REQUEST | SPI_FC_READY | SPI_FC_STOP_ACK;
master->bits_per_word_mask = SPI_BPW_MASK(8);
master->dev.of_node = pdev->dev.of_node;
master->auto_runtime_pm = true;
to indicate flow control support. Signed-off-by: Oleksij Rempel <linux@rempel-privat.de> --- drivers/spi/spi-sun4i.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)