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

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

Merge "ASoC: wcd9330: Use different bit to get plug insertion/removal status"

parents f1c292b7 1b94d9c7
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -7513,8 +7513,8 @@ static enum wcd9xxx_cdc_type tomtom_get_cdc_type(void)

static bool tomtom_mbhc_ins_rem_status(struct snd_soc_codec *codec)
{
	return snd_soc_read(codec, WCD9XXX_A_MBHC_INSERT_DET_STATUS) &
			    (1 << 1);
	return !(snd_soc_read(codec, WCD9XXX_A_MBHC_INSERT_DET_STATUS) &
			    (1 << 4));
}

static void tomtom_mbhc_micb_pulldown_ctrl(struct wcd9xxx_mbhc *mbhc,