diff options
| author | Johan Hovold <johan@kernel.org> | 2025-11-27 14:42:43 +0100 |
|---|---|---|
| committer | Stephen Boyd <sboyd@kernel.org> | 2025-11-30 12:05:45 -0800 |
| commit | 9c75986a298f121ed2c6599b05e51d9a34e77068 (patch) | |
| tree | 2a7c7c71ea8709ef36749491f09b0c28f86c66e9 /tools/lib/python/abi/helpers.py | |
| parent | cf33f0b7df13685234ccea7be7bfe316b60db4db (diff) | |
clk: keystone: syscon-clk: fix regmap leak on probe failure
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@vger.kernel.org # 6.15
Cc: Andrew Davis <afd@ti.com>
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'tools/lib/python/abi/helpers.py')
0 files changed, 0 insertions, 0 deletions
