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

Mark Brown
2021-01-11T16:36:34Z

[-- Attachment #1: Type: text/plain, Size: 288 bytes --]

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 #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]