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

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

Merge "ASoC: wcd934x: Fix fake button press for headset insertion"

parents 9d893fc1 6db3939d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -4209,7 +4209,7 @@ int tavil_micbias_control(struct snd_soc_codec *codec,
					post_dapm_on, &tavil->mbhc->wcd_mbhc);
		break;
	case MICB_DISABLE:
		if (tavil->pullup_ref[micb_index] > 0)
		if (tavil->micb_ref[micb_index] > 0)
			tavil->micb_ref[micb_index]--;
		if ((tavil->micb_ref[micb_index] == 0) &&
		    (tavil->pullup_ref[micb_index] > 0))