aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/extcon/extcon-arizona.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/extcon/extcon-arizona.c b/drivers/extcon/extcon-arizona.c
index 2336de66f442..eaf0644b5506 100644
--- a/drivers/extcon/extcon-arizona.c
+++ b/drivers/extcon/extcon-arizona.c
@@ -829,7 +829,10 @@ static void arizona_micd_detect(struct work_struct *work)
829 /* Due to jack detect this should never happen */ 829 /* Due to jack detect this should never happen */
830 if (!(val & ARIZONA_MICD_STS)) { 830 if (!(val & ARIZONA_MICD_STS)) {
831 dev_warn(arizona->dev, "Detected open circuit\n"); 831 dev_warn(arizona->dev, "Detected open circuit\n");
832 info->mic = false;
833 arizona_stop_mic(info);
832 info->detecting = false; 834 info->detecting = false;
835 arizona_identify_headphone(info);
833 goto handled; 836 goto handled;
834 } 837 }
835 838