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

Commit e7c5c4ef 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 micbias and cs on stop request"

parents 5e22a3bd 5ee8af2f
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -991,6 +991,7 @@ static void wcd_correct_swch_plug(struct work_struct *work)
		if (mbhc->hs_detect_work_stop) {
			pr_debug("%s: stop requested: %d\n", __func__,
					mbhc->hs_detect_work_stop);
			wcd_enable_curr_micbias(mbhc, WCD_MBHC_EN_NONE);
			goto exit;
		}
		mbhc->btn_press_intr = false;
@@ -1006,6 +1007,7 @@ static void wcd_correct_swch_plug(struct work_struct *work)
		if (mbhc->hs_detect_work_stop) {
			pr_debug("%s: stop requested: %d\n", __func__,
					mbhc->hs_detect_work_stop);
			wcd_enable_curr_micbias(mbhc, WCD_MBHC_EN_NONE);
			goto exit;
		}
		result1 = snd_soc_read(codec,