Re: [PATCH 06/15] dmaengine: lpc18xx-dmamux: fix device leak on route allocation
From: Johan Hovold
Date: Tue Nov 18 2025 - 04:30:51 EST
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@xxxxxxxxxxxxxxx # 4.3
> > Signed-off-by: Johan Hovold <johan@xxxxxxxxxx>
> Reviewed-by: Vladimir Zapolskiy <vz@xxxxxxxxx>
Thanks for reviewing.
Johan