diff options
| author | Johan Hovold <johan@kernel.org> | 2025-11-17 17:12:50 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2026-01-23 11:18:49 +0100 |
| commit | 618a8229911ea7f84c1c112fd9ec8cdfe2f5dc56 (patch) | |
| tree | 2b8d7d6612bda23799769537c9d3bdd5c2636794 /include/net/aligned_data.h | |
| parent | 992eb8055a6e5dbb808672d20d68e60d5a89b12b (diff) | |
dmaengine: lpc32xx-dmamux: fix device leak on route allocation
commit d9847e6d1d91462890ba297f7888fa598d47e76e upstream.
Make sure to drop the reference taken when looking up the DMA mux
platform device during route allocation.
Note that holding a reference to a device does not prevent its driver
data from going away so there is no point in keeping the reference.
Fixes: 5d318b595982 ("dmaengine: Add dma router for pl08x in LPC32XX SoC")
Cc: stable@vger.kernel.org # 6.12
Cc: Piotr Wojtaszczyk <piotr.wojtaszczyk@timesys.com>
Signed-off-by: Johan Hovold <johan@kernel.org>
Reviewed-by: Vladimir Zapolskiy <vz@mleia.com>
Link: https://patch.msgid.link/20251117161258.10679-9-johan@kernel.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/net/aligned_data.h')
0 files changed, 0 insertions, 0 deletions
