Skip to contentSkip to conversation

extcon: arizona: Remove additional increment for jack flips

PATCH In review Charles Keepax 2 participants 2 messages Feb 5, 2013 External connector subsystem (extcon)

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 extcon: arizona: Remove additional increment for jack flips

---
 drivers/extcon/extcon-arizona.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
drivers/extcon/extcon-arizona.c +0 -2
index 3aacacc..5f91711 100644
@@ -722,8 +722,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);
Signature · 1 line
1.7.2.5
#1 lore raw
Quoted 1 line · Charles Keepax

These conflict with patches I've already sent (and which I already posted). I'll roll these into a series and resend.

Patch 2 doesn't actually seem to reflect the chip behaviour, though I've not managed to track down why it's not needed.