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

Commit d1114e6f authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "ASoC: wcd: disable FSM when headset type is none"

parents 5a786dbc 4287b076
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -823,7 +823,13 @@ static void wcd_mbhc_swch_irq_handler(struct wcd_mbhc *mbhc)
					mbhc->intr_ids->mbhc_hs_ins_rem_intr);
		}

	} else if (!detection_type) {
		/* Disable HW FSM */
		snd_soc_update_bits(codec,
				MSM8X16_WCD_A_ANALOG_MBHC_FSM_CTL,
				0xB0, 0x00);
	}

	mbhc->in_swch_irq_handler = false;
	WCD_MBHC_RSC_UNLOCK(mbhc);
	pr_debug("%s: leave\n", __func__);