aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc
diff options
context:
space:
mode:
authorMatt Reimer <mreimer@vpop.net>2007-07-12 06:27:24 -0400
committerJaroslav Kysela <perex@suse.cz>2007-07-20 05:11:51 -0400
commit82fb159aa3d187aac0fce076739d7d8884e7a0af (patch)
tree0e8e48608a048e37d823b2118707547fd6beca56 /sound/soc
parentef2ec0dd65bc542f9ab45ea2fac6920cb1afa13b (diff)
[ALSA] Make s3c24xx_i2s_set_clkdiv() change the correct bits
Make s3c24xx_i2s_set_clkdiv() change the correct bits. Signed-off-by: Matt Reimer <mreimer@vpop.net> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@suse.cz>
Diffstat (limited to 'sound/soc')
-rw-r--r--sound/soc/s3c24xx/s3c24xx-i2s.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/s3c24xx/s3c24xx-i2s.c b/sound/soc/s3c24xx/s3c24xx-i2s.c
index 8ca314dc8891..39f02462e07d 100644
--- a/sound/soc/s3c24xx/s3c24xx-i2s.c
+++ b/sound/soc/s3c24xx/s3c24xx-i2s.c
@@ -344,11 +344,11 @@ static int s3c24xx_i2s_set_clkdiv(struct snd_soc_cpu_dai *cpu_dai,
344 DBG("Entered %s\n", __FUNCTION__); 344 DBG("Entered %s\n", __FUNCTION__);
345 345
346 switch (div_id) { 346 switch (div_id) {
347 case S3C24XX_DIV_MCLK: 347 case S3C24XX_DIV_BCLK:
348 reg = readl(s3c24xx_i2s.regs + S3C2410_IISMOD) & ~S3C2410_IISMOD_FS_MASK; 348 reg = readl(s3c24xx_i2s.regs + S3C2410_IISMOD) & ~S3C2410_IISMOD_FS_MASK;
349 writel(reg | div, s3c24xx_i2s.regs + S3C2410_IISMOD); 349 writel(reg | div, s3c24xx_i2s.regs + S3C2410_IISMOD);
350 break; 350 break;
351 case S3C24XX_DIV_BCLK: 351 case S3C24XX_DIV_MCLK:
352 reg = readl(s3c24xx_i2s.regs + S3C2410_IISMOD) & ~(S3C2410_IISMOD_384FS); 352 reg = readl(s3c24xx_i2s.regs + S3C2410_IISMOD) & ~(S3C2410_IISMOD_384FS);
353 writel(reg | div, s3c24xx_i2s.regs + S3C2410_IISMOD); 353 writel(reg | div, s3c24xx_i2s.regs + S3C2410_IISMOD);
354 break; 354 break;