[PATCH 6.17 836/849] extcon: adc-jack: Cleanup wakeup source only if it was enabled