aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/extcon/extcon-arizona.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/extcon/extcon-arizona.c b/drivers/extcon/extcon-arizona.c
index aa724314677a..c17a41ff60ea 100644
--- a/drivers/extcon/extcon-arizona.c
+++ b/drivers/extcon/extcon-arizona.c
@@ -750,8 +750,6 @@ static irqreturn_t arizona_micdet(int irq, void *data)
750 * impedence then give up and report headphones. 750 * impedence then give up and report headphones.
751 */ 751 */
752 if (info->detecting && (val & 0x3f8)) { 752 if (info->detecting && (val & 0x3f8)) {
753 info->jack_flips++;
754
755 if (info->jack_flips >= info->micd_num_modes) { 753 if (info->jack_flips >= info->micd_num_modes) {
756 dev_dbg(arizona->dev, "Detected HP/line\n"); 754 dev_dbg(arizona->dev, "Detected HP/line\n");
757 arizona_identify_headphone(info); 755 arizona_identify_headphone(info);