]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mfd: sprd-sc27xx: Fix wakeup source leaks on device unbind
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Sun, 6 Apr 2025 19:50:16 +0000 (21:50 +0200)
committerLee Jones <lee@kernel.org>
Fri, 23 May 2025 07:49:13 +0000 (08:49 +0100)
commit37ef4aa4039c42f4b15dc7e40d3e437b7f031522
treef431e796b12989f3c2818c98305b411610a08e9a
parent82ae581e56c36dbaee4e8da12d52018eeca01d4a
mfd: sprd-sc27xx: Fix wakeup source leaks on device unbind

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

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Baolin Wang <baolin.wang@linux.alibaba.com>
Link: https://lore.kernel.org/r/20250406-mfd-device-wakekup-leak-v1-8-318e14bdba0a@linaro.org
Signed-off-by: Lee Jones <lee@kernel.org>
drivers/mfd/sprd-sc27xx-spi.c