android_kernel_motorola_sm6375/drivers/extcon
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Krzysztof Kozlowski 788b15a1ef extcon: adc-jack: Cleanup wakeup source only if it was enabled
commit 92bac7d4de9c07933f6b76d8f1c7f8240f911f4f upstream.

Driver in the probe enables wakeup source conditionally, so the cleanup
path should do the same - do not release the wakeup source memory if it
was not allocated.

Link: https://lore.kernel.org/lkml/[email protected]/
Reported-by: Christophe JAILLET <[email protected]>
Closes: https://lore.kernel.org/r/[email protected]/
Fixes: 78b6a991eb6c ("extcon: adc-jack: Fix wakeup source leaks on device unbind")
Signed-off-by: Krzysztof Kozlowski <[email protected]>
Signed-off-by: Chanwoo Choi <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
2025-12-03 12:45:16 +01:00
..
devres.c
extcon-adc-jack.c extcon: adc-jack: Cleanup wakeup source only if it was enabled 2025-12-03 12:45:16 +01:00
extcon-arizona.c
extcon-axp288.c
extcon-fsa9480.c
extcon-gpio.c
extcon-intel-cht-wc.c
extcon-intel-int3496.c
extcon-intel-mrfld.c
extcon-intel.h
extcon-max3355.c
extcon-max8997.c
extcon-max14577.c
extcon-max77693.c
extcon-max77843.c
extcon-palmas.c
extcon-ptn5150.c
extcon-qcom-spmi-misc.c
extcon-rt8973a.c
extcon-rt8973a.h
extcon-sm5502.c
extcon-sm5502.h
extcon-usb-gpio.c
extcon-usbc-cros-ec.c
extcon.c extcon: Fix kernel doc of property capability fields to avoid warnings 2023-07-27 08:37:20 +02:00
extcon.h
Kconfig extcon: max8997: select IRQ_DOMAIN instead of depending on it 2024-06-16 13:28:43 +02:00
Makefile