Files
Johan Hovold b3bbbf9da3 dmaengine: ti: k3-udma: fix device leak on udma lookup
commit 430f7803b6 upstream.

Make sure to drop the reference taken when looking up the UDMA platform
device.

Note that holding a reference to a platform device does not prevent its
driver data from going away so there is no point in keeping the
reference after the lookup helper returns.

Fixes: d702419134 ("dmaengine: ti: k3-udma: Add glue layer for non DMAengine users")
Fixes: 1438cde8fe ("dmaengine: ti: k3-udma: add missing put_device() call in of_xudma_dev_get()")
Cc: stable@vger.kernel.org	# 5.6: 1438cde8fe
Cc: Grygorii Strashko <grygorii.strashko@ti.com>
Cc: Yu Kuai <yukuai3@huawei.com>
Signed-off-by: Johan Hovold <johan@kernel.org>
Link: https://patch.msgid.link/20251117161258.10679-17-johan@kernel.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2026-01-23 11:21:35 +01:00
..
2024-09-02 13:56:01 +05:30
2024-10-14 23:27:57 +05:30
2024-09-02 13:56:01 +05:30
2025-04-17 20:47:39 +05:30
2024-09-02 13:56:01 +05:30
2024-10-21 23:07:08 +05:30
2024-09-02 13:56:01 +05:30
2024-09-02 13:56:01 +05:30
2024-09-02 13:56:01 +05:30