From 8443e6319620d9d2e4dc4a9e5d17f94d1f4d737f Mon Sep 17 00:00:00 2001 From: Mark Brown Date: Mon, 1 Apr 2013 19:04:43 +0100 Subject: [PATCH] --- yaml --- r: 363183 b: refs/heads/master c: 82e2e0fd3fcf2aec9d5796e31d7f29c738331f6b h: refs/heads/master i: 363181: 2899a15d6ae110a563ce61d8a33e2dcccfba5ffb 363179: 192dea9c5ecc20d14f01c834d897055754accf89 363175: ce205541fb55d49fb7e97f61ac6c3bb0c7666a69 363167: 0a24984b0ba04febc6fc2181417bbc6ae275b6b1 v: v3 --- [refs] | 2 +- trunk/drivers/extcon/extcon-arizona.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 474d48651418..b7f8ce2777b3 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: e56a0a572be150c79cdbf62ff98f4a63419e1c0b +refs/heads/master: 82e2e0fd3fcf2aec9d5796e31d7f29c738331f6b diff --git a/trunk/drivers/extcon/extcon-arizona.c b/trunk/drivers/extcon/extcon-arizona.c index 132bc99fdc06..2f0bd4938fcc 100644 --- a/trunk/drivers/extcon/extcon-arizona.c +++ b/trunk/drivers/extcon/extcon-arizona.c @@ -519,7 +519,7 @@ static int arizona_hpdet_do_id(struct arizona_extcon_info *info, int *reading) * measure the mic as high impedance. */ if ((info->hpdet_res[0] > info->hpdet_res[1] * 2) || - (id_gpio && info->hpdet_res[2] > 10)) { + (id_gpio && info->hpdet_res[2] > 1257)) { dev_dbg(arizona->dev, "Detected mic\n"); info->mic = true; info->detecting = true;