]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
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)
commit46e001c003e30ed830a69e46c13ea02cd35b6093
tree5ce7abbe0f8157cf1e95ddfba0d81339967c66de
parentac4c064f67d3cdf9118b9b09c1e3b28b6c10a7ea
parent2555691165a0285a4617230fed859f20dcc51608
Add `devm_dma_request_chan()` to simplify probe

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.