Re: [PATCH] slimbus: qcom-ngd-ctrl: Fix potential DMA buffer leaks on teardown
From: Srinivas Kandagatla
Date: Tue Nov 24 2026 - 16:47:15 EST
On Wed, 18 Nov 2026 22:16:47 +0800, Guangshuo Li wrote:
> DMA teardown terminates transfers and releases the channels but leaves
> the coherent message buffers allocated. A subsequent initialization
> overwrites their addresses, and removal loses them permanently.
>
> Free the buffers after terminating DMA. Clear channels released during
> initialization failure so teardown cannot free the same resources again.
>
> [...]
Applied, thanks!
[1/1] slimbus: qcom-ngd-ctrl: Fix potential DMA buffer leaks on teardown
commit: 43cf5a5e34ba866b0220901cdd2d3a21373f03bd
Best regards,
--
Srinivas Kandagatla <srini@xxxxxxxxxx>