summaryrefslogtreecommitdiff
path: root/include/uapi/linux/raid/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2025-11-17 17:12:43 +0100
committerVinod Koul <vkoul@kernel.org>2025-12-14 14:47:23 +0530
commitb9074b2d7a230b6e28caa23165e9d8bc0677d333 (patch)
treead9b78fcae587e6293ca6e75b462e6a9ba4436ea /include/uapi/linux/raid/git@git.tavy.me:linux.git
parentc7d436a6c1a274c1ac28d5fb3b8eb8f03b6d0e10 (diff)
dmaengine: at_hdmac: fix device leak on of_dma_xlate()
Make sure to drop the reference taken when looking up the DMA platform device during of_dma_xlate() when releasing channel resources. Note that commit 3832b78b3ec2 ("dmaengine: at_hdmac: add missing put_device() call in at_dma_xlate()") fixed the leak in a couple of error paths but the reference is still leaking on successful allocation. Fixes: bbe89c8e3d59 ("at_hdmac: move to generic DMA binding") Fixes: 3832b78b3ec2 ("dmaengine: at_hdmac: add missing put_device() call in at_dma_xlate()") Cc: stable@vger.kernel.org # 3.10: 3832b78b3ec2 Cc: Yu Kuai <yukuai3@huawei.com> Signed-off-by: Johan Hovold <johan@kernel.org> Link: https://patch.msgid.link/20251117161258.10679-2-johan@kernel.org Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'include/uapi/linux/raid/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions