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

Commit 031c1783 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 MBHC_MUX_MODE when polling is active"

parents 6370fdc2 bca041b4
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -4178,9 +4178,10 @@ static int wcd9xxx_event_notify(struct notifier_block *self, unsigned long val,
			   (1 << MBHC_EVENT_PA_HPHL | 1 << MBHC_EVENT_PA_HPHR))
				wcd9xxx_switch_micbias(mbhc, 1);
			/*
			 * Disable MBHC TxFE, in case it was enabled
			 * earlier when micbias was enabled.
			 * Disable MBHC TxFE, in case it was enabled earlier
			 * when micbias was enabled and polling is not active.
			 */
			if (!mbhc->polling_active)
				wcd9xxx_enable_mbhc_txfe(mbhc, false);
		}
		break;