summaryrefslogtreecommitdiff
path: root/sound/soc/mediatek/mt8186/mt8186-dai-tdm.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2023-10-31 11:01:25 +0300
committerTakashi Iwai <tiwai@suse.de>2023-10-31 11:01:25 +0300
commit2dc15ff73b6a7b47db0e848498cb5b0479e781c6 (patch)
treed93457787d3349dadcbbf7691650ebdb1d0cd883 /sound/soc/mediatek/mt8186/mt8186-dai-tdm.c
parentc468b5dd759ede754b23cbc9c50b048a781d4217 (diff)
parentbdb7e1922052b1e7fcce63e2cfa195958ff97e05 (diff)
downloadlinux-2dc15ff73b6a7b47db0e848498cb5b0479e781c6.tar.xz
Merge tag 'asoc-v6.7-2' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into for-linus
ASoC: Updates for v6.7 More updates for v6,7 following the early merge request: - Fixes for handling of component name prefixing when name prefixes are used by the machine driver. - Fixes for noise when stopping some Sounwire CODECs. - Support for AMD ACP 6.3 and 7.0, Awinc AW88399, more Intel platforms and more Qualcomm SC7180 platforms.
Diffstat (limited to 'sound/soc/mediatek/mt8186/mt8186-dai-tdm.c')
-rw-r--r--sound/soc/mediatek/mt8186/mt8186-dai-tdm.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sound/soc/mediatek/mt8186/mt8186-dai-tdm.c b/sound/soc/mediatek/mt8186/mt8186-dai-tdm.c
index 4148dceb3a4c..ef2801f84d27 100644
--- a/sound/soc/mediatek/mt8186/mt8186-dai-tdm.c
+++ b/sound/soc/mediatek/mt8186/mt8186-dai-tdm.c
@@ -416,12 +416,10 @@ static int mtk_dai_tdm_hw_params(struct snd_pcm_substream *substream,
regmap_update_bits(afe->regmap, ETDM_IN1_CON1, ETDM_IN_CON1_CTRL_MASK, tdm_con);
/* ETDM_IN1_CON3 */
- tdm_con = 0;
tdm_con = ETDM_IN_CON3_FS(tran_rate);
regmap_update_bits(afe->regmap, ETDM_IN1_CON3, ETDM_IN_CON3_CTRL_MASK, tdm_con);
/* ETDM_IN1_CON4 */
- tdm_con = 0;
tdm_con = ETDM_IN_CON4_FS(tran_relatch_rate);
if (slave_mode) {
if (lrck_inv)