Skip to content

Commit 221ab1f

Browse files
yujiaxinffbroonie
authored andcommitted
ASoC: mediatek: mt8186: fix DMIC record noise
When the first DMIC recording is power down, mtkaif_dmic will be reset. This will cause configuration error in the second DMIC recording. So do not reset mtkaif_dmic except in "MTKAIF_DMIC Switch" kcontrol. Signed-off-by: Jiaxin Yu <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent ecdb10d commit 221ab1f

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

sound/soc/mediatek/mt8186/mt8186-dai-adda.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -271,9 +271,6 @@ static int mtk_adda_ul_event(struct snd_soc_dapm_widget *w,
271271
/* should delayed 1/fs(smallest is 8k) = 125us before afe off */
272272
usleep_range(125, 135);
273273
mt8186_afe_gpio_request(afe->dev, false, MT8186_DAI_ADDA, 1);
274-
275-
/* reset dmic */
276-
afe_priv->mtkaif_dmic = 0;
277274
break;
278275
default:
279276
break;

0 commit comments

Comments
 (0)