]> git.ipfire.org Git - thirdparty/linux.git/commit
dmaengine: ti: dma-crossbar: fix device leak on am335x route allocation
authorJohan Hovold <johan@kernel.org>
Mon, 17 Nov 2025 16:12:56 +0000 (17:12 +0100)
committerVinod Koul <vkoul@kernel.org>
Sun, 14 Dec 2025 09:17:24 +0000 (14:47 +0530)
commit4fc17b1c6d2e04ad13fd6c21cfbac68043ec03f9
treea0f9d7d37a4c0eb8d19d87e3a68960fa8ad7de49
parentdc7e44db01fc2498644e3106db3e62a9883a93d5
dmaengine: ti: dma-crossbar: fix device leak on am335x route allocation

Make sure to drop the reference taken when looking up the crossbar
platform device during am335x route allocation.

Fixes: 42dbdcc6bf96 ("dmaengine: ti-dma-crossbar: Add support for crossbar on AM33xx/AM43xx")
Cc: stable@vger.kernel.org # 4.4
Cc: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Johan Hovold <johan@kernel.org>
Link: https://patch.msgid.link/20251117161258.10679-15-johan@kernel.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/ti/dma-crossbar.c