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

Commit c937cb5c 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: enable current source for headphone"

parents 22c8e0bb 44100f72
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -696,7 +696,10 @@ static void wcd_mbhc_find_plug_and_report(struct wcd_mbhc *mbhc,
		/*
		 * Nothing was reported previously
		 * report a headphone or unsupported
		 * Enable CS for headphone to correct slow insertion of headset.
		 */
		snd_soc_update_bits(codec,
				MSM8X16_WCD_A_ANALOG_MBHC_FSM_CTL, 0x30, 0x30);
		wcd_mbhc_report_plug(mbhc, 1, SND_JACK_HEADPHONE);
	} else if (plug_type == MBHC_PLUG_TYPE_GND_MIC_SWAP) {
		wcd_mbhc_report_plug(mbhc, 1, SND_JACK_UNSUPPORTED);