diff options
Diffstat (limited to 'drivers/extcon')
-rw-r--r-- | drivers/extcon/extcon-arizona.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/extcon/extcon-arizona.c b/drivers/extcon/extcon-arizona.c index 132bc99fdc06..2f0bd4938fcc 100644 --- a/drivers/extcon/extcon-arizona.c +++ b/drivers/extcon/extcon-arizona.c | |||
@@ -519,7 +519,7 @@ static int arizona_hpdet_do_id(struct arizona_extcon_info *info, int *reading) | |||
519 | * measure the mic as high impedance. | 519 | * measure the mic as high impedance. |
520 | */ | 520 | */ |
521 | if ((info->hpdet_res[0] > info->hpdet_res[1] * 2) || | 521 | if ((info->hpdet_res[0] > info->hpdet_res[1] * 2) || |
522 | (id_gpio && info->hpdet_res[2] > 10)) { | 522 | (id_gpio && info->hpdet_res[2] > 1257)) { |
523 | dev_dbg(arizona->dev, "Detected mic\n"); | 523 | dev_dbg(arizona->dev, "Detected mic\n"); |
524 | info->mic = true; | 524 | info->mic = true; |
525 | info->detecting = true; | 525 | info->detecting = true; |