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

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

Merge "ASoC: wcd9xxx: Enable impedance detection by default for wcd9330"

parents 1f5a5121 4c721aba
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -5326,8 +5326,7 @@ int wcd9xxx_mbhc_init(struct wcd9xxx_mbhc *mbhc, struct wcd9xxx_resmgr *resmgr,

	/* Disable Impedance detection by default for certain codec types */
	if (mbhc->mbhc_cb && mbhc->mbhc_cb->get_cdc_type &&
	    ((mbhc->mbhc_cb->get_cdc_type() == WCD9XXX_CDC_TYPE_HELICON) ||
	    (mbhc->mbhc_cb->get_cdc_type() == WCD9XXX_CDC_TYPE_TOMTOM)))
	    (mbhc->mbhc_cb->get_cdc_type() == WCD9XXX_CDC_TYPE_HELICON))
		impedance_detect_en = 0;
	else
		impedance_detect_en = impedance_det_en ? 1 : 0;