提交 e7fb921d 编写于 作者: G Geert Uytterhoeven 提交者: Mark Brown

spi: rspi: Add DMA support for RSPI on RZ/A1H

Enable DMA support for RSPI on r7s72100 (RZ/A1H).
Signed-off-by: NGeert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: NMark Brown <broonie@linaro.org>
上级 4f12b5e5
......@@ -625,6 +625,9 @@ static int rspi_rz_transfer_one(struct spi_master *master,
rspi_rz_receive_init(rspi);
if (master->can_dma && __rspi_can_dma(rspi, xfer))
return rspi_dma_transfer(rspi, &xfer->tx_sg, &xfer->rx_sg);
ret = rspi_pio_transfer(rspi, xfer->tx_buf, xfer->rx_buf, xfer->len);
if (ret < 0)
return ret;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册