summaryrefslogtreecommitdiff
path: root/sound/soc/amd/raven/acp3x-i2s.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2020-04-08 19:08:09 +0300
committerTakashi Iwai <tiwai@suse.de>2020-04-08 19:08:09 +0300
commitddd5609fe8b682fbe81f71b27561f14d3611d856 (patch)
treed72d453180c0c25990524813a6b54a0555453d5e /sound/soc/amd/raven/acp3x-i2s.c
parent3c6fd1f07ed03a04debbb9a9d782205f1ef5e2ab (diff)
parentccfc531695f3a4aada042f6bdb33ac6be24e1aec (diff)
downloadlinux-ddd5609fe8b682fbe81f71b27561f14d3611d856.tar.xz
Merge tag 'asoc-fix-v5.7' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into for-linus
ASoC: Fixes for v5.7 A collection of fixes that have been accumilated since the merge window, mainly relating to x86 platform support.
Diffstat (limited to 'sound/soc/amd/raven/acp3x-i2s.c')
-rw-r--r--sound/soc/amd/raven/acp3x-i2s.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/amd/raven/acp3x-i2s.c b/sound/soc/amd/raven/acp3x-i2s.c
index 3a3c47e820ab..f160d35a6832 100644
--- a/sound/soc/amd/raven/acp3x-i2s.c
+++ b/sound/soc/amd/raven/acp3x-i2s.c
@@ -139,6 +139,7 @@ static int acp3x_i2s_hwparams(struct snd_pcm_substream *substream,
rv_writel(adata->tdm_fmt, rtd->acp3x_base + frmt_reg);
}
val = rv_readl(rtd->acp3x_base + reg_val);
+ val &= ~ACP3x_ITER_IRER_SAMP_LEN_MASK;
val = val | (rtd->xfer_resolution << 3);
rv_writel(val, rtd->acp3x_base + reg_val);
return 0;