[PATCH v7 0/2] Add `devm_dma_request_chan()` to simplify probe path in atmel-quadspi.c
Vinod Koul
vkoul at kernel.org
Thu Jun 26 15:48:09 PDT 2025
On Tue, 10 Jun 2025 10:22:52 +0200, Bence Csókás wrote:
> The probe function of the atmel-quadspi driver got quite convoluted,
> especially since the addition of SAMA7G5 support, that was forward-ported
> from an older vendor kernel. To alleivate this - and similar problems in
> the future - an effort was made to migrate as many functions as possible,
> to their devm_ managed counterparts. Patch 1/2 adds the new
> `devm_dma_request_chan()` function. Patch 2/2 then uses this APIs to
> simplify the probe() function.
>
> [...]
Applied, thanks!
[1/2] dma: Add devm_dma_request_chan()
commit: 08bf1663c21a3e815eda28fa242d84c945ca3b94
[2/2] spi: atmel-quadspi: Use `devm_dma_request_chan()`
(no commit info)
Best regards,
--
~Vinod
More information about the linux-arm-kernel
mailing list