提交 82fb159a 编写于 作者: M Matt Reimer 提交者: Jaroslav Kysela

[ALSA] Make s3c24xx_i2s_set_clkdiv() change the correct bits

Make s3c24xx_i2s_set_clkdiv() change the correct bits.
Signed-off-by: NMatt Reimer <mreimer@vpop.net>
Signed-off-by: NTakashi Iwai <tiwai@suse.de>
Signed-off-by: NJaroslav Kysela <perex@suse.cz>
上级 ef2ec0dd
...@@ -344,11 +344,11 @@ static int s3c24xx_i2s_set_clkdiv(struct snd_soc_cpu_dai *cpu_dai, ...@@ -344,11 +344,11 @@ static int s3c24xx_i2s_set_clkdiv(struct snd_soc_cpu_dai *cpu_dai,
DBG("Entered %s\n", __FUNCTION__); DBG("Entered %s\n", __FUNCTION__);
switch (div_id) { switch (div_id) {
case S3C24XX_DIV_MCLK: case S3C24XX_DIV_BCLK:
reg = readl(s3c24xx_i2s.regs + S3C2410_IISMOD) & ~S3C2410_IISMOD_FS_MASK; reg = readl(s3c24xx_i2s.regs + S3C2410_IISMOD) & ~S3C2410_IISMOD_FS_MASK;
writel(reg | div, s3c24xx_i2s.regs + S3C2410_IISMOD); writel(reg | div, s3c24xx_i2s.regs + S3C2410_IISMOD);
break; break;
case S3C24XX_DIV_BCLK: case S3C24XX_DIV_MCLK:
reg = readl(s3c24xx_i2s.regs + S3C2410_IISMOD) & ~(S3C2410_IISMOD_384FS); reg = readl(s3c24xx_i2s.regs + S3C2410_IISMOD) & ~(S3C2410_IISMOD_384FS);
writel(reg | div, s3c24xx_i2s.regs + S3C2410_IISMOD); writel(reg | div, s3c24xx_i2s.regs + S3C2410_IISMOD);
break; break;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册