Re: [PATCH v4 1/1] mmc: use dmaengine_get_dma_device() instead of chan->device->dev
From: Arnd Bergmann
Date: Wed Sep 23 2026 - 19:02:56 EST
On Wed, Sep 23, 2026, at 23:40, Frank Li wrote:
> On Wed, Sep 23, 2026 at 02:33:35PM -0500, Frank Li wrote:
>> On Wed, Sep 23, 2026 at 08:57:04PM +0200, Arnd Bergmann wrote:
> after enhancement
> consumer just need call
>
> dmaengine_prep_slave_sg(chan, data->sg, data->sg_len, slave_dirn,
> DMA_PREP_INTERRUPT | DMA_CTRL_ACK |
> DMA_PREP_MAP)
If that works, I think that would be perfect, good idea!
Arnd