Re: [PATCH 1/1] ata: replace chan->device->dev with dmaengine_get_provider_device()

From: Damien Le Moal

Date: Tue Nov 03 2026 - 16:39:44 EST


On 11/4/26 06:24, Frank.Li@xxxxxxxxxxx wrote:
> From: Frank Li <Frank.Li@xxxxxxx>
>
> Use the dmaengine_get_provider_device() API instead of directly
> accessing chan->device->dev to get the DMA provider device.
>
> No functional change intended. Prepare make to struct dma_device private
> to the DMA engine.
>
> Assisted-by: LLM

Please drop this.

> Signed-off-by: Frank Li <Frank.Li@xxxxxxx>

The commit title should be:

ata: sata_dwc_460ex: use dmaengine_get_provider_device() in sata_dwc_dma_filter()

With that fixed, looks OK to me, so feel free to add:

Reviewed-by: Damien Le Moal <dlemoal@xxxxxxxxxx>

--
Damien Le Moal
Western Digital Research