Re: [PATCH V2] dmaengine: sprd: Support two-stage dma interrupt

From: Vinod Koul
Date: Thu Oct 20 2022 - 07:22:23 EST


On 20-10-22, 16:15, Baolin Wang wrote:

> > > why is sprd_dma_int_type part of driver interface. sprd_dma_int_type is
> > > used only by this driver and should be moved into the driver..
>
> Now we can not move this into dma driver, since we have some drivers in the
> mainline will set the DMA interrupt type, such as spi-sprd.c, sprd_serial.c
> and sprd-pcm-compress.c.

That may not sound right.. Why should peripheral set the DMA
interrupt..?

--
~Vinod