[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <aXjgH6RCFq8y97-3@hovoldconsulting.com>
Date: Tue, 27 Jan 2026 16:56:15 +0100
From: Johan Hovold <johan@...nel.org>
To: Peter Rosin <peda@...ntia.se>
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
linux-kernel@...r.kernel.org, stable@...r.kernel.org,
Andrew Davis <afd@...com>
Subject: Re: [PATCH] mux: mmio: fix regmap leak on probe failure
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@...r.kernel.org # 6.16
> Cc: Andrew Davis <afd@...com>
> Signed-off-by: Johan Hovold <johan@...nel.org>
> ---
Can this one be picked up for 6.20?
Johan
Powered by blists - more mailing lists