diff options
-rw-r--r-- | drivers/extcon/extcon-arizona.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/extcon/extcon-arizona.c b/drivers/extcon/extcon-arizona.c index 0626754d6e04..427a289f32a5 100644 --- a/drivers/extcon/extcon-arizona.c +++ b/drivers/extcon/extcon-arizona.c | |||
@@ -196,6 +196,8 @@ static irqreturn_t arizona_micdet(int irq, void *data) | |||
196 | if (info->jack_flips >= info->micd_num_modes) { | 196 | if (info->jack_flips >= info->micd_num_modes) { |
197 | dev_dbg(arizona->dev, "Detected headphone\n"); | 197 | dev_dbg(arizona->dev, "Detected headphone\n"); |
198 | info->detecting = false; | 198 | info->detecting = false; |
199 | arizona_stop_mic(info); | ||
200 | |||
199 | ret = extcon_set_cable_state_(&info->edev, | 201 | ret = extcon_set_cable_state_(&info->edev, |
200 | ARIZONA_CABLE_HEADPHONE, | 202 | ARIZONA_CABLE_HEADPHONE, |
201 | true); | 203 | true); |