summaryrefslogtreecommitdiff
path: root/scripts/livepatch/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2025-11-27 14:48:34 +0100
committerVinod Koul <vkoul@kernel.org>2025-12-23 22:54:58 +0530
commit4914d67da947031d6f645c81c74f7879e0844d5d (patch)
tree5d591f4d63f9e45240141aa855f393dae6e0abe5 /scripts/livepatch/git@git.tavy.me:linux.git
parentd543d3eb06873f0ab8edb0d1f8364e9af93544a0 (diff)
phy: ti: gmii-sel: fix regmap leak on probe failure
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: 5ab90f40121a ("phy: ti: gmii-sel: Do not use syscon helper to build regmap") Cc: stable@vger.kernel.org # 6.14 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/20251127134834.2030-1-johan@kernel.org Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'scripts/livepatch/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions