Re: [PATCH 4/7] spi: spi-geni-qcom: Add support for GPI dma

From: Mark Brown
Date: Mon Jan 11 2021 - 11:36:34 EST


On Mon, Jan 11, 2021 at 08:46:48PM +0530, Vinod Koul wrote:

> +static int get_xfer_mode(struct spi_master *spi)
> +{
> + struct spi_geni_master *mas = spi_master_get_devdata(spi);
> + struct geni_se *se = &mas->se;
> + int mode = GENI_SE_FIFO;

Why not use the core DMA mapping support?

Attachment: signature.asc
Description: PGP signature