[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <176453314828.11952.16559693437296196826@lazor>
Date: Sun, 30 Nov 2025 12:05:48 -0800
From: Stephen Boyd <sboyd@...nel.org>
To: Johan Hovold <johan@...nel.org>, Santosh Shilimkar <ssantosh@...nel.org>
Cc: Michael Turquette <mturquette@...libre.com>, Andrew Davis <afd@...com>, linux-clk@...r.kernel.org, linux-kernel@...r.kernel.org, Johan Hovold <johan@...nel.org>, stable@...r.kernel.org
Subject: Re: [PATCH] clk: keystone: syscon-clk: fix regmap leak on probe failure
Quoting Johan Hovold (2025-11-27 05:42:43)
> The mmio regmap 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: a250cd4c1901 ("clk: keystone: syscon-clk: Do not use syscon helper to build regmap")
> Cc: stable@...r.kernel.org # 6.15
> Cc: Andrew Davis <afd@...com>
> Signed-off-by: Johan Hovold <johan@...nel.org>
> ---
Applied to clk-next
Powered by blists - more mailing lists