]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
mfd: max14577: Fix wakeup source leaks on device unbind
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Sun, 6 Apr 2025 19:50:11 +0000 (21:50 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 10 Jul 2025 13:57:32 +0000 (15:57 +0200)
commita23b82a0693b0492a2fc8a189f4bdfc6bca30c0c
treeeca9982278da9fb919d474e03fb40e5ada8c4a2c
parent852a2bda152aebee5f225a8827016559396e0b7e
mfd: max14577: Fix wakeup source leaks on device unbind

[ Upstream commit d905d06e64b0eb3da43af6186c132f5282197998 ]

Device can be unbound, so driver must also release memory for the wakeup
source.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20250406-mfd-device-wakekup-leak-v1-3-318e14bdba0a@linaro.org
Signed-off-by: Lee Jones <lee@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/mfd/max14577.c