Re: [PATCH 06/15] dmaengine: lpc18xx-dmamux: fix device leak on route allocation

Johan Hovold
2025-11-18T09:30:32Z

Hi Vladimir,

On Mon, Nov 17, 2025 at 09:24:48PM +0200, Vladimir Zapolskiy wrote:
> On 11/17/25 18:12, Johan Hovold wrote:
> > 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: e5f4ae84be74 ("dmaengine: add driver for lpc18xx dmamux")
> > Cc: stable@vger.kernel.org # 4.3
> > Signed-off-by: Johan Hovold <johan@kernel.org>

> Reviewed-by: Vladimir Zapolskiy <vz@mleia.com>

Thanks for reviewing.

Johan