diff options
| author | Johan Hovold <johan@kernel.org> | 2025-11-17 19:12:46 +0300 |
|---|---|---|
| committer | Vinod Koul <vkoul@kernel.org> | 2025-12-14 12:17:24 +0300 |
| commit | 7bb7d696e0361bbfc1411462c784998cca0afcbb (patch) | |
| tree | 23a68ba396c5d1464338edbb6a0823f7c48fb0bf /scripts | |
| parent | 7c3a46ebf15a9796b763a54272407fdbf945bed8 (diff) | |
| download | linux-7bb7d696e0361bbfc1411462c784998cca0afcbb.tar.xz | |
dmaengine: cv1800b-dmamux: fix device leak on route allocation
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: db7d07b5add4 ("dmaengine: add driver for Sophgo CV18XX/SG200X dmamux")
Cc: stable@vger.kernel.org # 6.17
Cc: Inochi Amaoto <inochiama@gmail.com>
Signed-off-by: Johan Hovold <johan@kernel.org>
Link: https://patch.msgid.link/20251117161258.10679-5-johan@kernel.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
