extcon: arizona: Remove additional increment for jack flips
PATCH 1/2 extcon: arizona: Remove additional increment for jack flips
Signed-off-by Charles Keepax <[email protected]>
--- drivers/extcon/extcon-arizona.c | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-)
drivers/extcon/extcon-arizona.c +0 -2
@@ -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
Quoted 1 line · Charles Keepax
Signed-off-by Charles Keepax <[email protected]>
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.