Re: [PATCHv2] ata: pata_pxa: use devres for DMA channel management
Damien Le Moal <[email protected]> Thu, 23 Jul 2026 16:38:39 +0900
| Newsgroups | org.kernel.vger.linux-ide,dev.linux.lists.llvm,org.kernel.vger.linux-kernel |
|---|---|
| Organization | Western Digital Research |
| Message-ID | <[email protected]> |
On 7/21/26 10:58, Rosen Penev wrote: > Convert the DMA channel request to devm_dma_request_chan() so the > channel is released automatically on device teardown. This removes > the explicit dma_release_channel() calls in the probe error paths > and in pxa_ata_remove(), simplifying the driver. > > Use ata_platform_remove_one() which is now equivalent to what remains of > the remove function after dma_release_channel() removal. > > Built as a module for arm/pxa_defconfig (CONFIG_PATA_PXA=m) with > LLVM=1 W=1; no new warnings. > > Assisted-by: opencode:hy3-free > Signed-off-by: Rosen Penev <[email protected]> Applied to for-7.3. Thanks! -- Damien Le Moal Western Digital Research