linux/drivers/dma/dw
Johan Hovold 8f7a391211 dmaengine: dw: dmamux: fix OF node leak on route allocation failure
commit ec25e60f9f upstream.

Make sure to drop the reference taken to the DMA master OF node also on
late route allocation failures.

Fixes: 134d9c52fc ("dmaengine: dw: dmamux: Introduce RZN1 DMA router support")
Cc: stable@vger.kernel.org	# 5.19
Cc: Miquel Raynal <miquel.raynal@bootlin.com>
Signed-off-by: Johan Hovold <johan@kernel.org>
Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://patch.msgid.link/20251117161258.10679-6-johan@kernel.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
History 2026-01-23 11:18:48 +01:00
..
acpi.c dmaengine: dw: Select only supported masters for ACPI devices 2025-01-02 10:34:13 +01:00
core.c dmaengine: dw: Unify ret-val local variables naming 2024-08-05 22:07:47 +05:30
dw.c dmaengine: dw: Simplify max-burst calculation procedure 2024-08-05 22:07:47 +05:30
idma32.c dmaengine: dw: Simplify max-burst calculation procedure 2024-08-05 22:07:47 +05:30
internal.h dmaengine: dw: Select only supported masters for ACPI devices 2025-01-02 10:34:13 +01:00
Kconfig dmaengine: dw: dmamux: Introduce RZN1 DMA router support 2022-05-19 22:34:51 +05:30
Makefile dmaengine: dw: dmamux: Introduce RZN1 DMA router support 2022-05-19 22:34:51 +05:30
of.c dmaengine: dw: Simplify DT property parser 2021-08-06 19:18:59 +05:30
pci.c dmaengine: dw: Select only supported masters for ACPI devices 2025-01-02 10:34:13 +01:00
platform.c dmaengine: dw: Unify ret-val local variables naming 2024-08-05 22:07:47 +05:30
regs.h dmaengine: dw: Simplify max-burst calculation procedure 2024-08-05 22:07:47 +05:30
rzn1-dmamux.c dmaengine: dw: dmamux: fix OF node leak on route allocation failure 2026-01-23 11:18:48 +01:00