summaryrefslogtreecommitdiff
path: root/arch/nds32/include/asm/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorWentao Liang <vulab@iscas.ac.cn>2026-06-25 22:18:37 +0800
committerDamien Le Moal <dlemoal@kernel.org>2026-07-03 13:44:18 +0900
commitfcaf242e7fc406e78f444a35441e3b58f5e28781 (patch)
tree19b068e81cecb92eac0b1f3cbb83e0bf4da41a65 /arch/nds32/include/asm/git@git.tavy.me:linux.git
parentc0ace4130e813acbabdfaa28d4e94a849c2ffdd7 (diff)
ata: pata_pxa: Fix DMA channel leak on probe error
When dmaengine_slave_config() fails, the DMA channel acquired by dma_request_chan() is not released before returning the error, leaking the channel reference. Fix by adding dma_release_channel() in the error path. The ata_host_activate() error path already correctly releases the DMA channel. Cc: stable@vger.kernel.org Fixes: 88622d80af82 ("ata: pata_pxa: dmaengine conversion") Signed-off-by: Wentao Liang <vulab@iscas.ac.cn> Reviewed-by: Niklas Cassel <cassel@kernel.org> Signed-off-by: Damien Le Moal <dlemoal@kernel.org>
Diffstat (limited to 'arch/nds32/include/asm/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions