]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
Add `devm_dma_request_chan()` to simplify probe
authorMark Brown <broonie@kernel.org>
Fri, 27 Jun 2025 11:07:07 +0000 (12:07 +0100)
committerMark Brown <broonie@kernel.org>
Fri, 27 Jun 2025 11:07:07 +0000 (12:07 +0100)
Merge series from Bence Csókás <csokas.bence@prolan.hu>:

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.


Trivial merge