Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e339af1c authored by Charles Keepax's avatar Charles Keepax Committed by Mark Brown
Browse files

extcon: arizona: Remove extra jack flip increment

parent bbbd46e3
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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);