]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
extcon: qcom-spmi-misc: Fix wakeup source leaks on device unbind
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Thu, 1 May 2025 14:33:24 +0000 (16:33 +0200)
committerChanwoo Choi <cw00.choi@samsung.com>
Tue, 26 Aug 2025 10:51:36 +0000 (19:51 +0900)
commit369259d5104d613164a8da64848aafe9dc9fa976
tree616d8691f42669e9b8a9120df04827b129802ddf
parent6f982d55f8c5d1e9189906a2a352dba8de421f5f
extcon: qcom-spmi-misc: Fix wakeup source leaks on device unbind

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

Link: https://lore.kernel.org/lkml/20250501-device-wakeup-leak-extcon-v2-4-7af77802cbea@linaro.org/
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
drivers/extcon/extcon-qcom-spmi-misc.c