Re: [PATCH] mux: mmio: fix regmap leak on probe failure
From: Greg Kroah-Hartman
Date: Thu Feb 05 2026 - 11:08:10 EST
On Wed, Feb 04, 2026 at 05:18:00PM +0100, Johan Hovold wrote:
> Hi Greg and Peter,
>
> On Tue, Jan 27, 2026 at 04:56:15PM +0100, Johan Hovold wrote:
> > On Thu, Nov 27, 2025 at 02:47:02PM +0100, Johan Hovold wrote:
> > > The mmio regmap that may be allocated during probe is never freed.
> > >
> > > Switch to using the device managed allocator so that the regmap is
> > > released on probe failures (e.g. probe deferral) and on driver unbind.
> > >
> > > Fixes: 61de83fd8256 ("mux: mmio: Do not use syscon helper to build regmap")
> > > Cc: stable@xxxxxxxxxxxxxxx # 6.16
> > > Cc: Andrew Davis <afd@xxxxxx>
> > > Signed-off-by: Johan Hovold <johan@xxxxxxxxxx>
> > > ---
> >
> > Can this one be picked up for 6.20?
>
> This one has been sitting on the list for over two months now without
> any comment from Peter.
>
> I know there have been some issues in the past which patches for this
> subsystem not being picked up, so perhaps you could just take this one
> directly, Greg?
>
> It's been reviewed by Andrew.
>
> Johan
Now taken, thanks.,
greg k-h