From 0362f934eab283c56025934173dd5e91ea45b233 Mon Sep 17 00:00:00 2001 From: Charles Keepax Date: Mon, 4 Feb 2013 19:29:41 +0000 Subject: [PATCH] --- yaml --- r: 355074 b: refs/heads/master c: e339af1c4567b1e63209329e2665781e598709f2 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/drivers/extcon/extcon-arizona.c | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/[refs] b/[refs] index 048a7e63bfd9..59803a7ac03f 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: bbbd46e3d7fcdf1c8362bf1c83bcc08a93676cc9 +refs/heads/master: e339af1c4567b1e63209329e2665781e598709f2 diff --git a/trunk/drivers/extcon/extcon-arizona.c b/trunk/drivers/extcon/extcon-arizona.c index aa724314677a..c17a41ff60ea 100644 --- a/trunk/drivers/extcon/extcon-arizona.c +++ b/trunk/drivers/extcon/extcon-arizona.c @@ -750,8 +750,6 @@ static irqreturn_t arizona_micdet(int irq, void *data) * impedence then give up and report headphones. */ if (info->detecting && (val & 0x3f8)) { - info->jack_flips++; - if (info->jack_flips >= info->micd_num_modes) { dev_dbg(arizona->dev, "Detected HP/line\n"); arizona_identify_headphone(info);