Unverified Commit 19bb587f authored by Zhongjun Tan's avatar Zhongjun Tan Committed by Mark Brown
Browse files

ASoC: mediatek: mt8186: Remove condition with no effect

parent 7d596d9b
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -295,8 +295,6 @@ static int mtk_adda_pad_top_event(struct snd_soc_dapm_widget *w,
	case SND_SOC_DAPM_PRE_PMU:
		if (afe_priv->mtkaif_protocol == MTKAIF_PROTOCOL_2_CLK_P2)
			regmap_write(afe->regmap, AFE_AUD_PAD_TOP, 0x39);
		else if (afe_priv->mtkaif_protocol == MTKAIF_PROTOCOL_2)
			regmap_write(afe->regmap, AFE_AUD_PAD_TOP, 0x31);
		else
			regmap_write(afe->regmap, AFE_AUD_PAD_TOP, 0x31);
		break;