|
@@ -829,7 +829,10 @@ static void arizona_micd_detect(struct work_struct *work)
|
|
/* Due to jack detect this should never happen */
|
|
/* Due to jack detect this should never happen */
|
|
if (!(val & ARIZONA_MICD_STS)) {
|
|
if (!(val & ARIZONA_MICD_STS)) {
|
|
dev_warn(arizona->dev, "Detected open circuit\n");
|
|
dev_warn(arizona->dev, "Detected open circuit\n");
|
|
|
|
+ info->mic = false;
|
|
|
|
+ arizona_stop_mic(info);
|
|
info->detecting = false;
|
|
info->detecting = false;
|
|
|
|
+ arizona_identify_headphone(info);
|
|
goto handled;
|
|
goto handled;
|
|
}
|
|
}
|
|
|
|
|