summaryrefslogtreecommitdiff
path: root/tools/lib/python/kdoc
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2025-11-27 14:49:42 +0100
committerSasha Levin <sashal@kernel.org>2026-03-04 07:21:13 -0500
commitbbaa9e615608c204d384a7d4b1a434580a142d4c (patch)
treeadb0981619f4820cd9edf2ace45d3256295bbbd0 /tools/lib/python/kdoc
parent3aa381673f44c0bcb07df4e29e2e3d08fae61392 (diff)
soc: ti: k3-socinfo: Fix regmap leak on probe failure
[ Upstream commit c933138d45176780fabbbe7da263e04d5b3e525d ] 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: a5caf03188e4 ("soc: ti: k3-socinfo: 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> Acked-by: Andrew Davis <afd@ti.com> Link: https://patch.msgid.link/20251127134942.2121-1-johan@kernel.org Signed-off-by: Nishanth Menon <nm@ti.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools/lib/python/kdoc')
0 files changed, 0 insertions, 0 deletions